/* banner css */
.slider-home {
  position: relative;
  width: 100%;
  height: 60vh;
  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 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.content-home p {
  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 {
  padding: 0 0 50px 0;
}

#volunteer-tab-main .tab-heading,
#overview-tab-main .tab-heading {
  padding: 50px 0 10px 0;
}
.donation-content ul{
  margin-left: 30px;
}
#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: #000;
  font-weight: 600;
  border-color: #000;
  padding: 20px;
  background-color: #D0BB68;
  cursor: pointer;
}

#donate-tab-main [data-tab-content],
#volunteer-tab-main [data-tab-content],
#overview-tab-main [data-tab-content] {
  display: none;
  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: 20px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}

#overview-tab-main {
  border-radius: 15px;
}

/* ends */
/* tabs main */
.card {
  background-color: #fff;
  border-radius: 20px;
  gap: 30px;
  padding: 20px;
}

#patientcare .card,
#education .card,
#research .card,
#infrastructure .card {
  border-radius: 20px;
  margin-bottom: 30px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#patientcare .card-image img,
#education .card-image img,
#research .card-image img,
#infrastructure .card-image img {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

#patientcare .card-content,
#education .card-content,
#research .card-content,
#infrastructure .card-content {
  flex: 1;
  /* padding: 30px; */
  display: flex;
  flex-direction: column;
}

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

#patientcare .card-description,
#education .card-description,
#research .card-description,
#infrastructure .card-description {
  color: #383939;
  font-size: 18px;
  font-weight: 500;
  flex-grow: 1;
}

#patientcare .card-buttons,
#education .card-buttons,
#research .card-buttons,
#infrastructure .card-buttons {
  display: flex;
  gap: 50px;
  margin-top: 20px;
  align-items: center;
}

#patientcare .know-more-btn,
#education .know-more-btn,
#research .know-more-btn,
#infrastructure .know-more-btn {
  color: #23559b;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  padding: 2px 0;
  border-bottom: 2px solid #23559b;
  transition: border-color 0.3s ease;
}

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

#patientcare .donate-btn,
#education .donate-btn,
#research .donate-btn,
#infrastructure .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,
#education .donate-btn:hover,
#research .donate-btn:hover,
#infrastructure .donate-btn:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

#patientcare .donate-icon,
#education .donate-icon,
#research .donate-icon,
#infrastructure .donate-icon {
  font-size: 1.1rem;
}
.raised-amount #counter{
  font-size: 42px;
}
.card-section strong{
  font-size: 16px;
}
/* mainends */

@media (max-width: 768px) {

  #patientcare .card-image img,
  #education .card-image img,
  #research .card-image img,
  #infrastructure .card-image img {
    width: 200px;
  }

  #patientcare .card-buttons,
  #education .card-buttons,
  #research .card-buttons,
  #infrastructure .card-buttons {
    gap: 20px;
  }

  #patientcare .know-more-btn,
  #education .know-more-btn,
  #research .know-more-btn,
  #infrastructure .know-more-btn {
    font-size: 14px;
  }

  .card-description p {
    font-size: 14px;
  }

  .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%;
  }

  .doante-main-grid {
    grid-template-columns: 1fr !important;
  }

  .para-donate {
    display: block !important;
  }
}

@media screen and (max-width: 550px) {

  /* 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: 100%;
    width: 96px;
  }

  #patientcare .card-title,
  #patientcare .card-description {
    font-size: 16px;
  }

  .card-description p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  #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;
  }

  #patientcare .card-buttons,
  #education .card-buttons,
  #research .card-buttons,
  #infrastructure .card-buttons {
    gap: 20px;
    margin-top: 0;
  }

  #patientcare .donate-btn,
  #education .donate-btn,
  #research .donate-btn,
  #infrastructure .donate-btn {
    padding: 10px;
  }

  /* 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;
  }

  #patientcare .card-content,
  #education .card-content,
  #research .card-content,
  #infrastructure .card-content {
    padding: 0;
  }

  .card {
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
  }

  #patientcare .card-image img,
  #education .card-image img,
  #research .card-image img,
  #infrastructure .card-image img {
    height: 100%;
    width: 96px;
  }
  #patientcare .donate-btn, #education .donate-btn, #research .donate-btn, #infrastructure .donate-btn {
    font-size: 12px;
  }
  #patientcare .card-title, #education .card-title, #research .card-title, #infrastructure .card-title {
    font-size: 16px;
  }
  #patientcare .know-more-btn, #education .know-more-btn, #research .know-more-btn, #infrastructure .know-more-btn {
    font-size: 12px;

  }
  #common-blue-banner .title {
    font-size: 24px !important;
  }
}

/* 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;
  }
  .amount-section {
    display: block !important;
}
}

@media (max-width: 991px) {
  #common-blue-banner .our-story-section {
    padding: 24px 10px;
  }
}
/* progress bar css */

.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: 42px;
  margin-right: 8px;
}

.target-amount {
  font-size: 18px;
  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: 0%;
  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 {
  position: relative;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.donate-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, #23559b, #1c447d); /* Hover background */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 50px;
}

.donate-icon img {
  width: 22px;
  height: 22px;
  transition: filter 0.3s ease;
}

/* Hover Effects */
.donate-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.donate-btn:hover::before {
  width: 100%;
}

.donate-btn:hover .donate-icon img {
  filter: brightness(0) invert(1); /* Makes the icon white */
}

.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;
  }
    .content-home{
      margin-left: 0px;
}
.dots-home{
      left: 40px;
      margin-bottom: 30px;
}
.content-home p {
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-description {
    font-size: 16px !important;
}
.card-title h3{
  margin-bottom: 5px !important;
}
}

/* Animation for progress bar on load */
#progress-bar-animate .progress-fill {
  transition: width 1.5s ease-out;
}
/* bar css ends */
/* 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: 20px;
  background-color: transparent;
  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;
  list-style: none;
  padding: 0;
  margin: 0;
}

#donation-tab .common-tab li {
  white-space: nowrap;
  border-bottom: 2px solid #cfcfcf;
  padding: 20px;
  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;
}

/* new chnages */
.para-donate {
  display: flex;
  gap: 15px;
}

.para-donate img {
  width: 450px;
  height: 315px;
  object-fit: cover;
}

.para-donate div p {
  font-size: 18px;
  font-weight: 500;
  color: #383939;
  margin-bottom: 20px;
  line-height: 24px;
}

/* for main card */
.donation-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
  color: #333;
}

.card-header {
  display: flex;
  margin-bottom: 12px;
}

.icon {
  background-color: #e8f0fe;
  padding: 10px;
  border-radius: 8px;
  margin-right: 12px;
  align-self: baseline;
}

.icon img {
  width: 70px;
  height: 70px;
}

.card-title h3 {
  margin: 0;
  color: #0d47a1;
  font-size: 20px;
  margin-bottom: 20px;
}

.card-description {
  margin: 0;
  font-size: 18px;

  display: -webkit-box;
  -webkit-line-clamp: 3;       /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-section {
  margin-bottom: 20px;
}

.card-section strong {
  color: #0d47a1;
  display: block;
  margin-bottom: 2px;
}

.card-section p {
  margin: 0;
  font-size: 16px;

  display: -webkit-box;
  -webkit-line-clamp: 1;       /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.know-more {
  display: inline-block;
  color: #0d47a1;
  text-decoration: underline;
  font-size: 14px;
}

.doante-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}
p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
}