* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* SIDE LAYOUT */




.banner-container.box-right .image-section {
  left: 0;
  right: auto;
}

.banner-container.box-right .donation-box {
  margin-left: auto;
}

.donation-box h1{
  margin-bottom: 0;
}


.donation-box h1 {
  font-size: var(--banner-font-size, 60px);
  font-weight: 700;
  color: var(--banner-title-color, #fff);
}

/* HERO LAYOUT */
.hero-banner-custom {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.hero-text {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--banner-title-color, #fff);
}

.slider-container {
  width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 700px;
  display: flex;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.hero-slider .swiper-container {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.hero-slider .swiper-slide {
  overflow: hidden;
  color: #fff;
}

.slide-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/* Slide Overlay */
.slide-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(329deg, rgb(26 26 46 / 32%), rgb(26 26 46 / 40%));
  z-index: 1;
}

/* Slide Text */
.hero-style {
  height: 65vh;
  transition: all 0.4s ease;
}

.hero-style .slide-title,
.hero-style .slide-text,
.hero-style .slide-btns {
  max-width: 690px;
}

.hero-style .slide-title {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero-style .slide-text {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.hero-style .slide-btns {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.7s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-slide-active .slide-title,
.swiper-slide-active .slide-text,
.swiper-slide-active .slide-btns {
  animation: slideUp 0.8s ease forwards;
}

.swiper-slide-active .slide-title {
  animation-delay: 0.3s;
}

.swiper-slide-active .slide-text {
  animation-delay: 0.5s;
}

.swiper-slide-active .slide-btns {
  animation-delay: 0.7s;
}

.hero-style .slide-text p {
  font-size: 32px;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.theme-btn,
.theme-btn-s2 {
  background-color: #ff6f61;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 32px;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.3s ease;
}

.theme-btn-s2 {
  background-color: rgba(255, 255, 255, 0.85);
  color: #1a1a2e;
}

.theme-btn:hover,
.theme-btn-s2:hover {
  background-color: #d4574e;
  color: #ffffff;
}

.theme-btn-s3 {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
}

.slide-btns a:first-child {
  margin-right: 10px;
}

/* Swiper Arrows */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #f0f0f0;
  background: transparent;
  text-align: center;
  line-height: 53px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-slider .swiper-button-prev {
  left: 25px;
  transform: translateX(50px);
}

.hero-slider .swiper-button-next {
  right: 25px;
  transform: translateX(-50px);
}

.hero-slider .swiper-button-prev:before,
.hero-slider .swiper-button-next:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 15px;
  color: #f0f0f0;
  display: inline-block;
}

.hero-slider .swiper-button-prev:before {
  content: "\f060";
}

.hero-slider .swiper-button-next:before {
  content: "\f061";
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
  text-align: left;
}

.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.image-section video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}


@media screen and (min-width: 1200px) and (max-width: 1440px) {
  .donation-box {
    width: 40%;
  }
}


/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1250px) {

  .donation-box {
    padding: 50px 25px;
    width: 45%;
  }

  
  .donation-box {
    padding-left: 25px !important;
  }

}
@media screen and (min-width: 769px) and (max-width: 992px) {

  .hero-style {
    height: 45vh;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: unset !important;
    bottom: 30px !important;
  }
}
@media screen and (min-width: 993px) and (max-width: 1150px) {

  .hero-style {
    height: 60vh;
    transition: all 0.4s ease;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: unset !important;
    bottom: 50px !important;
  }
}

@media screen and (min-width: 1151px) and (max-width: 1450px) {

.swiper-button-next,
  .swiper-button-prev {
    top: unset !important;
    bottom: 50px !important;
  }
}

@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    min-height: auto;
  }
  .hero-style {
    height: 45vh;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: unset !important;
    bottom: 30px !important;
  }

  .image-section {
    position: relative;
    width: 100%;
    height: 300px;
  }

  .donation-box {
    width: 100%;
    padding: 30px 25px;
  }


  .hero-banner-custom {
    min-height: 70vh;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .banner-container {
    height: auto;
  }
  .banner-container.box-right .donation-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .heading-banner .donation-box h1 {
    margin: 0;
  }
  .donation-box p {
    display: none;
  }
  .heading-banner .donation-box h1 {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-banner-custom {
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .donation-box {
    width: 100%;
    padding: 25px 20px;
  
  }

}
.heading-banner .acf-innerblocks-container {
 
    display: none;
}
@media screen and (min-width: 992px) {

.heading-banner .ask-donate h1 {
    font-size: clamp(48px, 7.64vw - 27.9px, 60px);
}
.ask-donate:has(.acf-innerblocks-container:not(:empty)) {
      --banner-font-size: clamp(40px, 0.66vw + 37.4px, 45px)
}


  .donation-box h1 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--banner-title-color, #fff);
    
  }
  .ask-donate p {
    display: none;
  }
}


@media screen and (max-width: 992px) {

   .donation-box h1 {
        font-size: clamp(32px, 2vw + 24.1px, 44px);
    }
}


@media screen and (max-width: 768px) {
  .donate-askbox .cartText {
    min-width: auto;
    width: 100%;
    font-size: 16px;
  }
}



/* New Banner Css */

@media (min-width: 992px) {

.banner-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: #fff;
    margin-top: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}

.image-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%; 
    height: 100%; 
    z-index: 1; 
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.donation-box {
    position: relative;
    z-index: 2; 
    width: 45%; 
    background: var(--banner-bg-color, #a91f21);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    padding-left: max(24px, calc((100vw - 1440px) / 2)); 
    padding-right: 40px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 3rem;  
    margin-bottom: 0;    
    flex-grow: 1;       
}
.banner-container.box-right .donation-box {
    margin-left: auto; 
    margin-right: 0;
    justify-content: center; 
   
    padding-left: 20px; 
    padding-right: 20px; 
}

/* 4. Inner Content Area */

.ask-donate {
    width: 100%;
}

.acf-innerblocks-container{
    max-width: 520px;
}

.heading-banner .ask-donate {
    width: auto;
    max-width: none;
}
.box-right .ask-donate {
    max-width: 500px;
}

}

@media screen and (min-width: 1500px) and (max-width: 1699px) {
   .box-right .donation-box {
    width: 42%;
  }
}

@media (min-width: 1700px) {

.donation-box {
    width: 47%;
}
  .box-right .donation-box {
    width: 40%;
  }
}


/* --- 1. Mobile & Tablet Styles (Less than 991px) --- */
@media (max-width: 991px) {
    .banner-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .image-section {
        width: 100%;
        height: 350px;
    }

    .image-section img,
    .image-section video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .donation-box {
        width: 100%;
        background: var(--banner-bg-color, #a91f21);
        color: white;
        padding: 2.5rem 1.5rem;
    }

     .heading-banner .donation-box {
        padding: 1.5rem;
    }

    .ask-donate {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {

  .heading-banner .ask-donate {
    width: 100%;
    max-width: 100%;
    margin: auto;
}
.ask-donate {
    width: 90%;
    max-width: 100%;
    margin: auto;
}
}
@media screen and (min-width: 993px) and (max-width: 1280px) {
.ask-donate:has(.acf-innerblocks-container:not(:empty)) {
    --banner-font-size: 35px;
}
}