* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
}

/* SIDE LAYOUT */
.banner-container {
  position: relative;
  width: 100%;
  height: 65vh;
  display: flex;
  align-items: flex-end;
}

.image-section {
  position: absolute;
  top: 0;
  width: 70%;
  height: 100%;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-box {
  position: relative;
  background: var(--banner-bg-color, #0778d4);
  color: white;
  padding: 25px 40px;
  padding: 50px;
  width: 35%;
  z-index: 10;
  margin-top: 60px;
}

.banner-container.box-right .image-section {
  left: 0;
  right: auto;
}

.banner-container.box-right .donation-box {
  margin-left: auto;
}

.banner-container.box-left .image-section {
  left: auto;
  right: 0;
}

.banner-container.box-left .donation-box {
  margin-right: auto;
}
/* Client ke liye fix */
.donation-box h1 {
  font-size: var(--banner-font-size, 55px);
  font-weight: 700;
  /*    margin-bottom: 30px;*/
  line-height: 61px;
  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);
}

section.heading-banner {
  height: 70vh;
}

.heading-banner .donation-box {
  padding: 60px 0;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 30px;
  min-height: 56vh;
  max-height: 500px;
  padding-right: 4rem;
}
.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;
}
.acf-innerblocks-container {
  margin-top: 25px;
}
@media screen and (min-width: 1800px) {

  .heading-banner .ask-donate {
    padding-left: 200px;
  }
  section.heading-banner {
    height: 60vh;
}
.heading-banner .donation-box {
    min-height: 50vh;
}
}
@media screen and (min-width: 1200px) and (max-width: 1440px) {
  .donation-box {
    width: 40%;
  }
}

@media screen and (min-width: 1450px) and (max-width: 1700px) {
  .banner-container {
    height: 76vh;
  }
}

@media screen and (min-width: 1501px) and (max-width: 1640px) {
  .heading-banner .donation-box {
    padding-left: clamp(60px, 5vw, 160px);
  }
}

@media screen and (min-width: 1641px) and (max-width: 1799px) {
  .heading-banner .donation-box {
    padding-left: clamp(60px, 9vw, 160px);
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1250px) {
  section.heading-banner {
    height: 30vh;
  }
  .heading-banner .donation-box {
    width: 42%;
  }
  .heading-banner .donation-box h1 {
    margin: 0;
    font-size: 40px;
  }
  .donation-box {
    padding: 50px 25px;
    width: 45%;
  }
  .banner-container {
    height: 60vh;
  }
  .donation-box h1 {
    font-size: 38px;
  }
  .donation-box {
    padding-left: 25px !important;
  }

  .heading-banner .donation-box {
    min-height: 25vh;
    max-height: 500px;
  }

  .heading-banner .donation-box {
    justify-content: start;
  }
}
@media screen and (min-width: 769px) and (max-width: 992px) {
  .banner-container {
    height: 42vh;
  }
  .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) {
  .donation-box {
    width: 62% !important;
  }
  .donation-box {
    justify-content: start !important;
  }
  .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) {
  .donation-box {
    width: 54% !important;
  }
  .donation-box {
    justify-content: start !important;
  }
  .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%;
    margin: -80px auto 0;
    padding: 30px 25px;
  }

  .donation-box h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .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;
  }
  section.heading-banner {
    height: auto;
  }
  .heading-banner .donation-box {
    padding: 20px 20px;
    display: flex;
    justify-content: start;
    align-items: center;
  }
  .heading-banner .donation-box h1 {
    margin: 0;
    font-size: 32px;
  }
  .heading-banner .donation-box {
    min-height: 10vh;
  }
  .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;
    margin-top: -60px;
  }

  .donation-box h1 {
    font-size: 1.5rem;
  }
}
.heading-banner .acf-innerblocks-container {
 
    display: none;
}
@media screen and (min-width: 992px) {
  .donation-box {
    position: relative;
    background: var(--banner-bg-color, #0778d4);
    color: white;
    padding: 3rem;
    width: 45%;
    z-index: 10;
    margin-top: 60px;
    min-height: 50vh;
    max-height: 500px;
    display: flex;
    justify-content: end;
    align-items: center;
    border-radius: 12px;
    border-radius: 0;
  }

.ask-donate h1 {
    font-size: var(--banner-font-size, 55px);
}
.ask-donate:has(.acf-innerblocks-container:not(:empty)) {
    --banner-font-size: 45px;
}


  .donation-box h1 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--banner-title-color, #fff);
  }
  .ask-donate p {
    display: none;
  }
  .heading-banner .donation-box h1 {
    text-align: left;
  }
  .ask-donate {
    width: 580px;
  }
  .heading-banner .ask-donate {
    width: unset;
  }

  .box-right .donation-box {
    width: 37%;
  }

  .donate-askbox .cartText {
    text-align: center;
    min-width: 600px;
  }
}
@media screen and (max-width: 768px) {
  .donate-askbox .cartText {
    min-width: auto;
    width: 100%;
    font-size: 16px;
  }
}

@media screen and (min-width: 1600px) {
  .donation-box {
    min-height: 57vh;
  }
}

@media screen and (min-width: 1451px) and (max-width: 1550px) {
  .box-right .donation-box {
    width: 45%;
    min-height: 65vh;
  }
}

@media screen and (min-width: 1551px) and (max-width: 1650px) {
  .box-right .donation-box {
    width: 42%;
    min-height: 65vh;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1799px) {
  .box-right .donation-box {
    width: 40%;
    min-height: 65vh;
  }
}

@media screen and (min-width: 1250px) and (max-width: 1799px) {
  .donation-box {
    min-height: 57vh;
  }
}
