.banner-img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-height: 350px;
}

.btn-certificate {
  font-size: 1rem;
  padding: 8px 25px;
  border-radius: 50px;
  transition: all 0.2s ease-in-out;
}

.btn-certificate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

p.lead {
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .banner-img {
    max-height: 300px;
  }

  .btn-certificate {
    font-size: 0.9rem;
    padding: 5px 15px;
  }
}

@media (max-width: 767px) {
  .banner-img {
    max-height: 250px;
  }

  .btn-certificate {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  p.lead {
    font-size: 11px;
  }

}

.main-wrapper {
  max-width: 850px !important;
  margin: auto;

  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 24px;

  padding: 2.5rem;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, .15),
    0 4px 12px rgba(0, 0, 0, .08);

  overflow: hidden;
}

/* .main-wrapper{
    max-width:850px;
    margin:40px auto;
    padding:35px;
  
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  
    border:1px solid rgba(255,255,255,.35);
    border-radius:28px;
  
    box-shadow:
        0 12px 35px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.35);
  
    overflow:hidden;
  } */
#form1 .row:nth-of-type(odd),
#form2 .row:nth-of-type(odd) {
  background-color: #f1f1f1;
  padding: 0px 0px 10px 0px;
  margin-top: 10px;
}

#suggestions {
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  position: absolute;
  z-index: 1000;
  width: 100%;
  display: none;
}

#suggestions div {
  padding: 8px;
  cursor: pointer;
}

#suggestions div:hover {
  background-color: #f0f0f0;
}

.position-relative {
  position: relative;
}

.btn {
  border-radius: 25px !important;
}

.btn-pledge {
  width: 260px;
}


.certificate-option {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.certificate-option .btn-certificate {
  flex: 1 1 200px;
  padding: 5px;
  font-size: 13px;
  border-radius: 20px;
}

.certificate-image {
  width: 80%;
  margin-bottom: 20px;
}




.main_page_banner {
  position: relative;
  padding: 45px 20px 20px;
  text-align: center;
}

/* Main heading */
.main_page_banner h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow:
    0 4px 8px rgba(0, 0, 0, .65),
    0 8px 25px rgba(0, 0, 0, .35);
}

/* Highlight Pledge */
.main_page_banner h1 .pledge {
  color: #ffe600;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, .65),
    0 0 20px rgba(255, 230, 0, .25);
}

/* =========================================================
   SUB TITLE
========================================================= */

.main_page_banner h4 {
  margin-top: 15px;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: .3px;
  color: #ffe27a !important;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, .7);
}

/* =========================================================
   DECORATIVE LINE
========================================================= */

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 5px;
  width: 230px;
}

.title-decoration .line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 230, 80, .9));
}

.title-decoration .line:last-child {
  background: linear-gradient(90deg,
      rgba(255, 230, 80, .9),
      transparent);
}

.title-decoration span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffe85b;
  box-shadow:
    0 0 10px rgba(255, 230, 80, .8);
}


.pledge-form .card {
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pledge-form .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pledge-form .card-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 1rem;
}

.pledge-form .card-body {
  background-color: #f8f9fa;
}

.pledge-form .chart-container {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pledge-form h4 {
  font-weight: 700;
  font-size: 1.5rem;
}

.chart_style{
  max-height: 350px;
}

@media (max-width: 576px) {
  .main-wrapper {
    padding: 0.5rem;
  }

  .main_page_banner {
    padding: 10px;
  }

  .main_page_banner h1 {
    font-size: 2rem;
  }

  .main_page_banner h4 {
    font-size: .95rem;
    line-height: 1.5;
  }



  .main_page_data {
    padding: 15px 15px 45px;
  }

  .launch-icon {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .main_page_data h2 {
    font-size: 1.2rem;
  }

  .launch-description {
    font-size: .9rem;
  }

  .launch-description strong {
    font-size: 1rem;
  }

  .launch-date {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    padding: 18px 15px;
  }

  .launch-date .calendar-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    font-size: 25px;
  }

  .launch-date .divider {
    margin-right: 10px;
  }

  .date-value {
    font-size: 1.15rem;
  }

  .pledge-form .chart-container {
    padding: .75rem;
  }

}

@media screen and (max-width:600px) {
  body {
    font-size: 0.8rem !important;
  }

  .swachhta-pledge-btn.mb-5 {
    margin-bottom: 30px !important;
  }

  .btn-pledge {
    width: auto;
  }

  .btn {
    border-radius: 15px !important;
  }
}