/* banner css */
section{
    background-color: #000000;
}
.slider-home {
  position: relative;
  width: 100%;
  height: 82vh;
  overflow: hidden;
}

.slides-home {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide-home {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end; /* Align content to bottom */
  justify-content: flex-start; /* Align content to left */
  padding: 40px;
  color: white;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    #0000006e 0px,
    rgb(255 255 255 / 0%) 470px,
    #ffffff00 929px,
    #ffffff00 100%
  );
  z-index: 1;
}

.content-home {
  position: relative;
  max-width: 600px;
  z-index: 2;
  margin-left: 25px;
  margin-bottom: 70px; /* extra spacing from bottom */
}

.content-home h1 {
  color: #000000;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.content-home p {
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.content-home button {
  position: relative;
  background: #d0bb68;
  color: black;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

.content-home button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559b; /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
}

.content-home button:hover {
  color: white; /* Text color on hover */
}

.content-home button:hover::before {
  width: 100%;
}

.dots-home {
  position: absolute;
  bottom: 60px;
  left: 70px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.dot-home {
  width: 8px;
  height: 8px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot-home.active {
  background-color: #d0bb68;
}
/* banner css ends */
/* breadcrumb */
#donate-main {
  padding: 0px 0px;
}
#donate-main .breadcrumb {
  font-size: 16px;
  color: #666;
  margin: 50px 0;
}

#donate-main .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}
#donate-main .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#donate-main .breadcrumb a:hover {
  text-decoration: underline;
}

#donate-main .breadcrumb span {
  margin: 0 5px;
}

/* ends */
/* tab start */
#donate-tab-main .tab-heading,
#volunteer-tab-main .tab-heading,
#overview-tab-main .tab-heading {
  padding: 50px 0;
}

#donate-tab-main .active[data-tab-content],
#volunteer-tab-main .active[data-tab-content],
#overview-tab-main .active[data-tab-content] {
  display: block;
  color: #000000;
}

#donate-tab-main .tab.active,
#volunteer-tab-main .tab.active,
#overview-tab-main .tab.active {
  font-size: 18px;
  color: #23559b;
  font-weight: 600;
  border-color: #23559b;
  padding: 12px 25px 12px 25px;
  background-color: #fffae8;
  cursor: pointer;
}

#donate-tab-main [data-tab-content],
#volunteer-tab-main [data-tab-content],
#overview-tab-main [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#donate-tab-main .active[data-tab-content],
#volunteer-tab-main .active[data-tab-content],
#overview-tab-main .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}

#donate-tab-main .common-tab,
#volunteer-tab-main .common-tab,
#overview-tab-main .common-tab {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#donate-tab-main .common-tab li,
#volunteer-tab-main .common-tab li,
#overview-tab-main .common-tab li {
  border-bottom: 2px solid #cfcfcf;
  padding: 12px 25px 12px 25px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}
#overview-tab-main{
    background: #fff;
    border-radius: 15px;
}
/* ends */
/* tabs main */
#patientcare .card {
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#patientcare .card-image img {
  height: 206px;
  width: 260px;
  border-radius: 10px;
  object-fit: cover;
}

#patientcare .card-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

#patientcare .card-title {
  color: #23559b;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

#patientcare .card-description {
  color: #383939;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 35px;
  flex-grow: 1;
}

#patientcare .card-buttons {
  display: flex;
  gap: 50px;
  align-items: center;
}

#patientcare .know-more-btn {
  color: #23559b;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 2px 0;
  border-bottom: 2px solid #23559b;
  transition: border-color 0.3s ease;
}

#patientcare .know-more-btn:hover {
  border-bottom: 2px solid #5a7191;
}

#patientcare .donate-btn {
  background: #d0bb68;
  color: #000000;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#patientcare .donate-btn:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

#patientcare .donate-icon {
  font-size: 1.1rem;
}
/* mainends */
@media (max-width: 499px) {
  /* Horizontal scrolling for all tab containers */
#donate-tab-main .common-tab,
#volunteer-tab-main .common-tab,
#overview-tab-main .common-tab {
  overflow-x: auto; /* Enables horizontal scrolling */
  white-space: nowrap; /* Prevents items from wrapping */
  gap: 15px;
}

/* Hide scrollbar for all tab containers (optional) */
#donate-tab-main .common-tab::-webkit-scrollbar,
#volunteer-tab-main .common-tab::-webkit-scrollbar,
#overview-tab-main .common-tab::-webkit-scrollbar {
  display: none;
}

/* Active tab style for all tab containers */
#donate-tab-main .tab.active,
#volunteer-tab-main .tab.active,
#overview-tab-main .tab.active {
  background-color: transparent;
  border-bottom: 2px solid #23559b;
  color: #23559b;
}
  .common-tab li {
    color: #1f2b6c;
    border-bottom: 2px solid #1f2b6c;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 0;
  }
  #patientcare .card-image img {
    height: 96px;
    width: 96px;
  }
  #patientcare .card-title,
  #patientcare .card-description {
    font-size: 14px;
  }
  #patientcare .donate-btn,
  #patientcare .know-more-btn {
    font-size: 12px;
    white-space: nowrap;
  }
  #donation-tab .common-tab {
  overflow-x: auto; /* Enables horizontal scrolling */
  white-space: nowrap; /* Prevents items from wrapping */
  gap: 15px;
}

/* Hide scrollbar for all tab containers (optional) */
#donation-tab .common-tab::-webkit-scrollbar {
  display: none;
}

/* Active tab style for all tab containers */
#donation-tab .tab.active {
  background-color: transparent;
  border-bottom: 2px solid #23559b;
  color: #23559b;
}
.upload-box{
    width: 100% !important;
}
}
@media (max-width: 768px) {
  #patientcare .card-content {
    padding: 0px 30px 30px;
  }
  .donation-container {
    flex-direction: column;
        align-items: center !important;
}
.contact-donate-main{
    flex-direction: column;
}
.raised-amount {
        font-size: 30px !important;
    }
    #donation-tab {
    display: block !important;
}
#donation-tab .common-tab {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for webkit browsers */
#donation-tab .common-tab::-webkit-scrollbar {
    display: none;
}

#donation-tab .common-tab li {
    flex: 0 0 auto;
    min-width: max-content;
    border-bottom: 2px solid #cfcfcf;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    line-height: 25px;
    font-weight: 400;
    color: #858687;
    transition: all 0.3s ease;
}

/* Active tab style */
#donation-tab .tab.active {
    background-color: transparent;
    border-bottom: 2px solid #23559b;
    color: #23559b;
    font-weight: 600;
}
    #donation-tab .common-tab {
        gap: 10px;
        padding: 0 10px;
    }
    
    #donation-tab .common-tab li {
        padding: 10px 20px;
        font-size: 16px;
        min-width: 120px; /* Ensure minimum width for touch targets */
    }
    #online-content .submit-button,
#offline-content .submit-button {
  width: 100%;
}
}
/* donate details */
/* commonbanner */
#common-blue-banner .our-story-section {
  background-color: #23559b;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

#common-blue-banner .title {
  color: white;
  font-size: 32px;
  font-weight: 600;
  flex: 1;
  text-align: left;
  letter-spacing: -0.02em;
}
#common-blue-banner .logo-container .logo-icon img {
  background-color: #d0bb68;
  border-radius: 15px;
  padding: 10px;
}
/* donation description */
.donation-container {
  display: flex;
 align-items: start;
  gap: 20px;
  margin: 0 auto;
}

.donation-content {
  flex: 2;
  padding: 15px;
}

.donation-content h2 {
  margin-top: 15px;
  font-size: 24px;
  color: #23559b;
  margin-bottom: 15px;
}

.donation-content p {
  color: #383939;
  font-size: 18px;
  line-height: 1.5;
      margin-top: 14px;
}

.donation-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0px 20px 0;
  border-radius: 8px;
}
#overview {
    padding-bottom: 50px;
}
.contact-donate-main{
    display: flex;
    gap: 15px;
        margin-top: 30px;
}
fieldset{
    width: 100%;
}
   .contact-box {
      border: 2px solid #23559b;
      border-radius: 10px;
      padding: 20px;
      position: relative;
      margin: 0 auto;
    }
  .contact-box-terms {
    border: 2px solid #23559B;
    border-radius: 10px;
        margin-top: 10px;
    padding: 35px 20px 0px 20px;
    position: relative;
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
}
  .contact-box-terms a {
    display: flex;
    align-items: center;    
    justify-content: flex-start;  
    text-align: center; 
    color: #23559B;
    text-decoration: underline;       
    gap: 8px;  
    margin-bottom: 5px;
    font-size: 20px;
  }
.contact-box legend.box-label {
      font-weight: bold;
      color: #383939;
      padding: 0 12px;
      font-size: 16px;
      margin-left: 12px;
      display: inline-block;
    }
.contact-box a {
    color: #000000;
    padding: 0;
    font-size: 16px;
    margin-left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.contact-box p {
    color: #000000;
    padding: 0;
    font-size: 16px;
    margin-left: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}
.contact-box p a {
    padding: 0;
    margin-left: 5px;
    text-decoration: none;
    margin-bottom: 0;
}
.contact-box a.terms{
    font-size: 20px;
}
.contact-set{
    margin-top: 50px;
    margin-bottom: 50px;
}
.contact-set h2{
    font-size: 24px;
    font-weight: 700;
    color: #23559B;
}
/* donation section ends */
@media (max-width: 1199px) {
  #common-blue-banner .our-story-section {
    padding: 24px 35px;
  }
}
@media (max-width: 991px) {
  #common-blue-banner .our-story-section {
    padding: 24px 78px;
  }
}
.fundraising-container {
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
}

.amount-section {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.raised-amount {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.rupee-symbol {
  font-size: 3rem;
  margin-right: 8px;
}

.target-amount {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 400;
}

.progress-section {
  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background-color: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 6px;
  width: 52.28%; /* 10,45,678 / 20,00,000 * 100 */
  transition: width 0.8s ease-in-out;
}

.bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.supporters-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supporter-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.supporters-text {
     display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.supporters-count {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1;
}

.supporters-label {
  font-size: 14px;
  color: #858687;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donate-btn {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a1a1a;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  border: none;
  cursor: pointer;
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #e6c147, #c9a429);
}

.donate-btn:active {
  transform: translateY(0);
}

.donate-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 640px) {
  .fundraising-container {
    padding: 30px 20px;
  }

  .raised-amount {
    font-size: 2.5rem;
  }

  .rupee-symbol {
    font-size: 2.2rem;
  }

  .target-amount {
    font-size: 1rem;
  }

  .bottom-section {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .supporters-info {
    justify-content: center;
  }

  .donate-btn {
    justify-content: center;
    padding: 18px 32px;
  }
}

/* Animation for progress bar on load */
@keyframes fillProgress {
  from {
    width: 0%;
  }
  to {
    width: 52.28%;
  }
}

.progress-fill {
  animation: fillProgress 8s ease-out 0.5s both;
}
/* form css */
#donation-tab{
    display: flex;
    gap: 30px;
}
#donation-tab .tab-heading {
  padding: 0 0 50px 0;
}

#donation-tab .active[data-tab-content] {
  display: block;
  color: #000000;
}

#donation-tab .tab.active {
  font-size: 18px;
  color: #23559b;
  font-weight: 600;
  border-color: #23559b;
  padding: 12px 25px 12px 25px;
  background-color: #fffae8;
  cursor: pointer;
}

#donation-tab [data-tab-content] {
  display: none;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#donation-tab .active[data-tab-content] {
  display: block;
  opacity: 1;
  height: auto;
}

#donation-tab .common-tab {
  display: grid;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#donation-tab .common-tab li {
    white-space: nowrap;
  border-bottom: 2px solid #cfcfcf;
  padding: 12px 25px 12px 25px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}
.individual-description h2{
    color: #23559B;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
.individual-description p{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #383939;
}
#donation-form-tab{
        background: #FFFFFF;
    border-radius: 15px;
}
      .tab-container {
    display: flex;
}
.tab-inner {
    width: 100%;
    padding: 20px 20px;
    cursor: pointer;
    font-size: 20px;
    color: #383939;
    font-weight: 700;
    background-color: #FFFAE8;
    border: none;
}
.tab-inner.active-donate {
    background-color: #23559B;
    color: #fff;
    font-weight: bold;
}
.tab-inner:first-child {
  border-top-left-radius: 15px;
}

.tab-inner:nth-child(2) {
  border-top-right-radius: 15px;
}
.content-inner {
    display: none;
    padding: 20px;
}
.content-inner.active-donate {
    display: block;
}
/* first form */
#online-content {
     max-width: 600px;
 padding-bottom: 50px;
    padding-top: 50px;   
}

#online-content .donation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#online-content .form-row {
  display: flex;
  gap: 20px;
}

#online-content .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

#online-content label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

#online-content input,
#online-content select {
  padding: 12px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

#online-content input:focus,
#online-content select:focus {
  border-color: #0077cc;
}

#online-content input::placeholder {
  color: #999;
}

#online-content .phone-group .phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

#online-content .country-code {
  padding: 12px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #333;
}

#online-content .select-wrapper {
  position: relative;
}

#online-content .select-container {
  position: relative;
}

#online-content .select-container select {
  appearance: none;
  padding-right: 30px;
}

#online-content .chevron-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

#online-content small.error-message {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
#online-content .submit-button,
#offline-content .submit-button {
  position: relative;
  padding: 12px 24px;
  background-color: #d5b65a;
  color: #383939;
  font-weight: bold;
  border: 1px solid #23559B;
  border-radius: 25px;
  cursor: pointer;
  width: 250px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease-in-out;
}

#online-content .submit-button::before,
#offline-content .submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559B; /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
}

#online-content .submit-button:hover,
#offline-content .submit-button:hover {
  color: white;
}

#online-content .submit-button:hover::before,
#offline-content .submit-button:hover::before {
  width: 100%;
}

#offline-content div p{
    font-size: 18px;
    font-weight:500;
    color:#383939;
}
.upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #C8D4E3;
    border-radius: 8px;
    padding: 15px;
    margin-top: 50px;
    width: 543px;
    cursor: pointer;
    color: #23559B;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}
.upload-box span{
  display: flex;
    align-items: center;
}
.upload-box:hover {
  background-color: #f5faff;
  border-color: #7bb7ff;
}

.upload-icon {
  margin-left: 5px;
}

.file-note {
  color: #999;
  font-size: 14px !important;
  margin-top: 10px;
      margin-bottom: 50px;
}
