.form-container {
  max-width: 900px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin: 40px auto;
}

.section-header {
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--bs-primary);
  font-weight: 700;
}

.form-label {
  font-weight: 600;
  color: #444444;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: 4px;
  border: 1px solid #ced4da;
  padding: 10px 12px;
}



.volunteer-checkbox-label {
  font-weight: 500;
  color: #555555;
  font-size: 0.9rem;
  cursor: pointer;
}

.volunteer-checkbox {
  cursor: pointer;
}

.submit-btn {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  padding: 12px 35px;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
}

.cta-banner {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/charity.jpg') no-repeat center center;
  background-size: cover;
  padding: 100px 0;
  color: #ffffff;
  text-align: center;
}

.cta-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.cta-btn {
  background-color: var(--bs-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--bs-secondary);
  color: #ffffff;
}

/* Success Story Styles */
.success-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f6;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.patient-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background-color: #0c2340;
  border-bottom: 1px solid #eef2f6;
}

.patient-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.success-card:hover .patient-img {
  transform: scale(1.05);
}



.patient-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f7f9fb;
  color: #888888;
  padding: 10px;
  text-align: center;
}

.patient-placeholder i {
  font-size: 2rem;
  margin-bottom: 8px;
}

.patient-placeholder span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.success-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.patient-description {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff !important;
  padding: 24px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  pointer-events: none;
  overflow-y: auto;
}

.success-card:hover .patient-description {
  opacity: 1;
  pointer-events: auto;
}

.patient-meta-list {
  background-color: #f8fafc;
  padding: 15px;
  border-radius: 6px;
  list-style: none;
  margin: 0;
}

.patient-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid #eceeef;
}

.patient-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.patient-meta-item:first-child {
  padding-top: 0;
}

.meta-label {
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.meta-value {
  color: #555555;
  font-weight: 500;
}

.load-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.load-btn {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  padding: 12px 40px;
  font-weight: 700;
  color: #ffffff;
  border-radius: 4px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: none;
}

.load-btn:hover {
  background-color: var(--bs-secondary);
  color: #ffffff;
}

/* Program Card Styles */
.program-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f6;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.program-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: #f7f9fb;
  border-bottom: 1px solid #eef2f6;
}

.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-img {
  transform: scale(1.05);
}

.program-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f7f9fb;
  color: #888888;
  padding: 10px;
  text-align: center;
}

.program-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.program-placeholder span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.program-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--bs-primary);
  transition: color 0.3s ease;
}

.program-card:hover .program-title {
  color: var(--bs-secondary);
}

.program-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2em;
}

.program-read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bs-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.program-read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.program-read-more:hover {
  color: var(--bs-secondary);
}
.program-read-more:hover i {
  transform: translateX(4px);
}

/* Custom Accordion Styles for Upcoming Projects */
.custom-accordion .accordion-item {
  margin-bottom: 20px;
  border: 1px solid #eef2f6;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.custom-accordion .accordion-button {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 20px 25px;
  background-color: #ffffff;
  color: var(--bs-primary);
  border: none;
  box-shadow: none !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(8, 50, 92, 0.08);
  color: #08325c;
  box-shadow: none;
}

.custom-accordion .accordion-button::after {
  background-size: 1.25rem;
  transition: transform 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(15%) sepia(50%) saturate(2000%) hue-rotate(195deg) brightness(95%) contrast(100%);
}

.custom-accordion .accordion-body {
  padding: 25px;
  background-color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555555;
}

.accordion-btn-container {
  margin-top: 15px;
}

.accordion-click-btn {
  background-color: #198754;
  /* Bootstrap success green */
  color: #ffffff;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 4px;
  border: none;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.accordion-click-btn:hover {
  background-color: #157347;
  color: #ffffff;
}

/* Project Showcase Alternating Row Styles */
.project-showcase-row {
  margin-bottom: 80px;
  align-items: center;
}

.project-showcase-row:last-child {
  margin-bottom: 0;
}

.project-showcase-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  background: linear-gradient(135deg, #0c2340 0%, #08325c 100%);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-showcase-row:hover .project-showcase-img-box {
  /* transform: translateY(-5px); */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.project-showcase-icon {
  font-size: 4rem;
  color: #ffffff;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.project-showcase-row:hover .project-showcase-icon {
  transform: scale(1.1) rotate(2deg);
}

.project-showcase-img-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.project-badge {
  display: block;
  width: fit-content;
  background-color: rgba(8, 50, 92, 0.08);
  color: #08325c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.project-showcase-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: #08325c;
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  display: block;
}

.project-showcase-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 25px;
  text-align: justify;
}

.project-action-btn {
 background-color: var(--bs-secondary);
 border: 1px solid var(--bs-secondary);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 30px;

  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.project-action-btn:hover {
  border-color: var(--bs-secondary);
  color: var(--bs-secondary);
  background: transparent;

}

/* Mission Hunger Styles */
.mission-hunger-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: var(--bs-dark);
}

.grocery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media (max-width: 1200px) {
  .grocery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .grocery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .grocery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grocery-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.grocery-card:hover {

  border-color: var(--bs-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.grocery-icon-wrapper {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(0, 176, 116, 0.08);
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.grocery-card:hover .grocery-icon-wrapper {
  background-color: var(--bs-primary);
  color: #ffffff;
}

.grocery-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bs-dark);
  margin-bottom: 0;
}

/* Service Card / Donation box */
.nation-service-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  padding: 30px;
  border-top: 4px solid var(--bs-primary);
}

.nation-service-card-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: var(--bs-primary);
  border-bottom: 2px solid #eef2f5;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.donation-tier-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.donation-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #fdfdfd;
  border: 1px solid #f3f5f7;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.donation-tier-row:hover {
  background: #fafbfc;
  border-color: rgba(0, 176, 116, 0.2);
}

.donation-tier-info {
  flex: 1;
  padding-right: 15px;
}

.donation-tier-label {
  font-weight: 700;
  color: var(--bs-dark);
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.donation-tier-sub {
  font-size: 0.8rem;
  color: #777777;
}

.donation-tier-btn {
  border: 1.5px solid;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.25s ease;
  white-space: nowrap;
    background: var(--bs-secondary);
  color: #ffffff;
  
}

.donation-tier-btn:hover {
border-color:  var(--bs-secondary);
color: var(--bs-secondary);
background: transparent;
}

/* Efforts Section Banner */
.efforts-banner {
  background: linear-gradient(135deg, #0099ae 0%, #00b074 100%);
  border-radius: 40px;
  padding: 60px 40px;
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 153, 174, 0.15);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .efforts-banner {
    border-radius: 24px;
    padding: 40px 20px;
  }
}

.efforts-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 35px;
  position: relative;
  display: inline-block;
}

.efforts-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background-color: #ffffff;
  transform: translateX(-50%);
  border-radius: 2px;
}

.effort-item-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.effort-item-card:hover {
  background: rgba(255, 255, 255, 0.15);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.effort-icon-box {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.effort-heading {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.effort-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.efforts-footer-text {
  max-width: 800px;
  margin: 40px auto 0 auto;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.7;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
}

/* Education Support Styles */
.education-appeal-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-left: 5px solid var(--bs-primary);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}


.appeal-img-container {
  width: 100%;
  height: 240px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ebf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.appeal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 2;
}

.appeal-img-container:hover img {
  transform: scale(1.05);
}

.appeal-img-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(0, 176, 116, 0.25);
  font-size: 3.5rem;
  z-index: 1;
}

.appeal-img-fallback span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  color: #777777;
}

.appeal-badge {
  background-color: rgba(0, 176, 116, 0.08);
  color: var(--bs-primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.appeal-badge.student-tag {
  background-color: rgba(0, 153, 174, 0.08);
  color: #0099ae;
}

.appeal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #fafbfc;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #f3f5f7;
}

@media (max-width: 576px) {
  .appeal-info-grid {
    grid-template-columns: 1fr;
  }
}

.appeal-info-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #555555;
}

.appeal-info-item i {
  color: var(--bs-primary);
  margin-right: 10px;
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
}

.appeal-info-item.blue-icon i {
  color: #0099ae;
}

.appeal-info-label {
  font-weight: 700;
  color: var(--bs-dark);
  margin-right: 5px;
}

.appeal-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bs-dark);
  line-height: 1.3;
}

.appeal-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555555;
  text-align: justify;
}

/* ── Blog Inner Page Styles ── */
.blog-inner-wrap {
  padding: 60px 0 80px;
}

.blog-inner-header {
  margin-bottom: 32px;
}

.blog-inner-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--bs-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.blog-inner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f0f2f5;
  border-bottom: 1px solid #f0f2f5;
  margin-bottom: 28px;
}

.blog-inner-meta span {
  font-size: 0.83rem;
  color: #888;
}

.blog-inner-meta span i {
  color: var(--bs-primary);
  margin-right: 6px;
}

.blog-inner-feat-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 420px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-inner-body h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bs-dark);
  margin-top: 36px;
  margin-bottom: 14px;
}

.blog-inner-body p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #555555;
  margin-bottom: 18px;
  text-align: justify;
}

.blog-inner-section-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin: 28px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.blog-inner-highlight {
  background-color: rgba(var(--bs-primary-rgb, 0, 176, 116), 0.07);
  border-left: 4px solid var(--bs-primary);
  padding: 18px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.blog-inner-highlight p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-dark);
  margin-bottom: 0;
  font-style: italic;
  text-align: left;
}

.blog-inner-share {
  border-top: 1px solid #eef2f5;
  padding-top: 28px;
  margin-top: 40px;
  text-align: center;
}

.blog-inner-share p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 14px;
}

.blog-inner-share .share-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.blog-inner-share .share-btns a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-inner-share .share-btns a:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.blog-inner-share .share-fb {
  background: #1877f2;
}

.blog-inner-share .share-tw {
  background: #000000;
}

.blog-inner-share .share-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.blog-inner-share .share-li {
  background: #0a66c2;
}

/* Blog sidebar */
.blog-sidebar-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.blog-sidebar-card h5 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bs-dark);
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.blog-related-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f5f7fa;
  text-decoration: none;
  transition: background 0.2s ease;
}

.blog-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-related-img {
  width: 70px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  font-size: 1.4rem;
}

.blog-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.blog-related-text {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--bs-dark);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.blog-related-item:hover .blog-related-text {
  color: var(--bs-primary);
}

.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag-pill {
  background-color: rgba(var(--bs-primary-rgb, 0, 176, 116), 0.08);
  color: var(--bs-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.3px;
}

.blog-tag-pill:hover {
  background: var(--bs-primary);
  color: #ffffff;
}

/* ── Gallery Page Styles ── */
.gallery-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background-color: transparent;
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  letter-spacing: 0.3px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background-color: var(--bs-primary);
  color: #ffffff;
  border-color: var(--bs-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #f0f2f5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 3px solid;
  cursor: pointer;

  border-color: var(--bs-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item-overlay {
  display: none;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ebf5 100%);
  color: #aaaaaa;
}

.gallery-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: var(--bs-primary);
  opacity: 0.35;
}

.gallery-placeholder span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bbbbbb;
}

.gallery-load-wrap {
  text-align: center;
  margin-top: 44px;
}

.gallery-load-btn {
  border: 2px solid var(--bs-primary);
  background: transparent;
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 44px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.gallery-load-btn:hover {
  background-color: var(--bs-primary);
  color: #ffffff;
}

/* ── Gallery Dropdown Styles ── */
.gallery-filter-btn.dropdown-toggle::after {
  display: none !important;
}

.gallery-dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(0, 176, 116, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 5px !important;
  min-width: 180px;
}

.gallery-dropdown-item {
  color: var(--bs-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gallery-dropdown-item:hover,
.gallery-dropdown-item.active {
  background-color: var(--bs-primary);
  color: #ffffff;
}

.gallery-dropdown-item:focus {
  background-color: var(--bs-primary);
  color: #ffffff;
}

/* ── Contact Page Redesign Styles ── */
/* Premium Form Container */
.contact-form-wrapper {
  max-width: 800px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04), 0 5px 15px rgba(0, 0, 0, 0.01);
  padding: 45px;
  margin: 0 auto;
  border: 1px solid #eef2f6;
}

/* Floating Input Labels */
.form-floating>.form-control {
  height: 60px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding-left: 20px;
}

.form-floating>textarea.form-control {
  height: 150px;
  resize: none;
}

/* Input Focus Shadow Glow */
.form-floating>.form-control:focus {
  border-color: var(--bs-primary);

}

/* Float Label color adjustments */
.form-floating>label {
  padding-left: 20px;
  color: #797E88;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: var(--bs-primary);
}

/* Premium Button Styles */
.btn-submit {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 156, 149, 0.2);
  border: none;
}

.btn-submit:hover {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #ffffff;


}

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

/* Email Pill Card Styling */
.email-badge-card {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  text-decoration: none;
}

.email-badge-card:hover {

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 156, 149, 0.2);
}

/* Premium Locations Styling */
.location-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #eef2f6 !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #ffffff;
}



.location-img-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #f7f9fb;
}

.location-img-box img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  object-fit: cover;
}

.location-card:hover .location-img-box img {
  transform: scale(1.08);
}

/* Location badges */
.office-badge {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  background-color: var(--bs-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 0 0 10px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.office-badge.hq {
  background-color: var(--bs-secondary);
}

/* Section line */
.section-header-underline {
  width: 70px;
  height: 3px;
  background-color: var(--bs-primary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

/* ── Inline CSS Extractions ── */
.topbar-logo {
  max-height: 55px;
}

.topbar-title {
  font-size: 1.3rem;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1.2;
}

.topbar-subtitle {
  font-size: 0.65rem;
  letter-spacing: 1px;
  display: block;
}

.topbar-info-text {
  font-size: 0.8rem;
}

.topbar-email-text {
  font-size: 0.75rem;
}

.btn-donate-nav {
  border-radius: 0 !important;
  font-weight: 700;
}

.contact-container {
  max-width: 900px;
}

.contact-header-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  color: #2b2b2b;
}

.email-badge-icon {
  width: 45px !important;
  height: 45px !important;
}

.email-badge-text-wrap {
  font-family: 'Josefin Sans', sans-serif;
}

.email-badge-label {
  color: var(--bs-primary) !important;
}

.locations-section-title {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 1px;
  color: var(--bs-primary) !important;
}

.location-placeholder-bg {
  background-color: var(--bs-primary) !important;
}

.location-card-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.25rem;
  color: #2b2b2b;
}

.location-card-address {
  font-size: 0.9rem;
  line-height: 1.5;
}

.location-card-phone {
  font-size: 0.85rem;
}

.footer-logo {
  max-height: 50px;
  background-color: #ffffff;
  padding: 4px;
  border-radius: 4px;
}

.footer-brand-title {
  font-size: 1.1rem;
  line-height: 1.2;
}

.footer-brand-subtitle {
  font-size: 0.65rem;
}

.footer-contact-link {
  font-size: 0.85rem;
}

/* ── Medical Cases Page Styles ── */
.case-img-box {
  position: relative;
  height: 220px;
  background-color: #f7f9fb;
  overflow: hidden;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.donation-item:hover .case-img {
  transform: scale(1.08);
}

.case-placeholder-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  /* dynamically shown via onerror handler */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bs-primary) 0%, #063c37 100%);
  color: #ffffff;
  font-family: 'Josefin Sans', sans-serif;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.case-placeholder-fallback i {
  animation: heartbeat-animation 1.5s infinite ease-in-out;
}

.case-placeholder-fallback span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bs-secondary);
}

.case-placeholder-fallback small {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes heartbeat-animation {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
  font-size: 1.25rem !important;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--bs-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-truncate-2:hover {
 color: var(--bs-dark);
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.2rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.text-truncate-2 {
  text-decoration: none !important;
}

/* ── Inner Medical Case Page Styles ── */
.medical-appeal-box {
  background-color: #f8f9fa;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.medical-appeal-box h2 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
  color: var(--bs-dark);
}

.medical-main-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 450px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Tab Overrides */
.medical-tabs {
  border-bottom: 2px solid #f0f2f5;
  margin-bottom: 20px;
  gap: 10px;
}

.medical-tabs .nav-link {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bs-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
  background: transparent;
}

.medical-tabs .nav-link:hover {
  color: var(--bs-primary);
}

.medical-tabs .nav-link.active {
  color: #ffffff !important;
  background-color: var(--bs-primary) !important;
  border-radius: 4px;
}

.medical-tab-content {
  background: #ffffff;
  padding: 10px 0;
}

/* Sidebar Donation Form */
.donation-sidebar-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.preset-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}



.donor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
}

.donor-row:last-child {
  border-bottom: none;
}

.donor-name {
  font-weight: 600;
  color: var(--bs-dark);
  font-size: 0.95rem;
}

.donor-amount {
  font-weight: 700;
  color: var(--bs-primary);
  font-size: 0.95rem;
}

.docs-carousel {
  margin-top: 20px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.docs-carousel-item img {
  max-height: 550px;
  object-fit: contain;
  border: none;
  background-color: transparent;
  border-radius: 0;
}

/* ── Donation Page Styles ── */
.donation-page-card {
  background: rgba(26, 104, 91, 0.06); /* Brand secondary green soft tint */
  border: 1px solid rgba(26, 104, 91, 0.18);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(26, 104, 91, 0.03);
  height: 100%;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.donation-page-card:hover {
  box-shadow: 0 15px 40px rgba(26, 104, 91, 0.06);
}

.donation-page-card .form-control {
  background-color: #ffffff !important;
  border: 1px solid rgba(26, 104, 91, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}



.preset-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.preset-btn {
  background-color: white;
  color: var(--bs-secondary) !important;
  border: 1px solid;
  border-color: var(--bs-secondary) !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(26, 104, 91, 0.15);
}

.preset-btn:hover,
.preset-btn.active {
  background-color: var(--bs-secondary) !important;
  color: white !important;
  
  box-shadow: 0 6px 15px rgba(8, 50, 92, 0.2);
}

.donation-stats-card {
  background: rgba(26, 104, 91, 0.06); /* Brand secondary green soft tint */
  border: 1px solid rgba(26, 104, 91, 0.18);
  border-radius: 16px;
  padding: 35px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(26, 104, 91, 0.03);
  transition: all 0.3s ease;
}

.donation-stats-card:hover {
  box-shadow: 0 15px 40px rgba(26, 104, 91, 0.06);
}

.donation-stats-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.donation-stats-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #555555;
  font-weight: 500;
}

.donation-stats-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--bs-primary);
}

.donation-stats-list li strong {
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.payment-method-card {
  background: rgba(26, 104, 91, 0.06); /* Brand secondary green soft tint */
  border: 1px solid rgba(26, 104, 91, 0.18);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(26, 104, 91, 0.03);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}



.payment-method-icon {
  font-size: 2.5rem;
  color: var(--bs-primary);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.payment-method-card:hover .payment-method-icon {
  transform: scale(1.1);
}

.payment-method-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bs-dark);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 8px;
  display: inline-block;
}

.qr-code-placeholder {
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(26, 104, 91, 0.4);
  border-radius: 12px;
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  color: var(--bs-tertiary);
  font-size: 0.8rem;
  padding: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.qr-code-placeholder:hover {
  transform: scale(1.05);
}

.payment-method-card:hover .qr-code-placeholder {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 16px rgba(26, 104, 91, 0.08);
}

/* Custom CSS Badges for Payment Branding */
.paytm-badge {
  background-color: #ffffff;
  border: 1px solid rgba(26, 104, 91, 0.15);
  padding: 4px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.paytm-badge .pay-text {
  color: #0A2540; /* Dark blue */
}

.paytm-badge .tm-text {
  color: #00BAF2; /* Paytm cyan */
}

.upi-badge {
  background-color: #ffffff;
  border: 1px solid rgba(26, 104, 91, 0.15);
  padding: 4px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  letter-spacing: 0.5px;
}

.upi-badge .upi-part-u {
  color: #0c428a; /* UPI dark blue */
}

.upi-badge .upi-part-p {
  color: #0c428a;
}

.upi-badge .upi-part-i {
  color: #00b074; /* UPI green */
}

/* Fix mobile horizontal overflow and layout rendering */
/* html, body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 991.98px) {
  .top-bar {
    padding: 0 15px !important;
    height: auto !important;
  }
  .top-bar .row {
    height: auto !important;
    padding: 10px 0;
  }
  .nav-bar {
    padding: 0 15px !important;
  }
  .donation-sidebar-card,
  .donation-page-card {
    padding: 20px !important;
  }
}

@media (max-width: 576px) {
  .donation-sidebar-card,
  .donation-page-card {
    padding: 15px !important;
  }
  .docs-carousel-item img {
    max-height: 320px !important;
  }
  .preset-btn {
    font-size: 0.85rem !important;
    padding: 6px !important;
  }
  .payment-method-card {
    padding: 20px !important;
  }
} */


/* assosicated hospital css */

 .filter-btn {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid var(--bs-primary);
    color: var(--bs-dark);
  }
  .filter-btn:hover {
    background-color: var(--bs-primary);
    color: var(--bs-dark);
  }
  .filter-btn.active {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
  }
  
  .hospital-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07) !important;
    background: #ffffff;
  }
  

  
  .logo-box {
    height: 185px;
    position: relative;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
  }
  
  .logo-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    padding-bottom: 32px; /* safe spacing for bottom name tag */
  }

  .hospital-logo {
    max-height: 135px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .hospital-card:hover .hospital-logo {
    transform: scale(1.06);
  }

  .logo-fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
  }

  .logo-icon {
    font-size: 3.2rem;
    transition: all 0.3s ease;
  }
  
  .hospital-card:hover .logo-icon {
    transform: scale(1.15) rotate(5deg);
  }
  
  .hospital-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .hospital-item.hide {
    display: none;
    opacity: 0;
    transform: scale(0.9);
  }
  .hospital-item.show {
    display: block;
    opacity: 1;
    transform: scale(1);
  }


  /* board of director css */
   .trustee-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    background: #ffffff;
  }
  
  .trustee-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
  }
  
  .trustee-img-box {
    height: 310px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    border-bottom: 1px solid #f1f1f1;
  }
  
  .trustee-img-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .trustee-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
  }
  
  .trustee-card:hover .trustee-img {
    transform: scale(1.04);
  }

  .trustee-fallback-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
  }

  .avatar-icon {
    font-size: 5rem;
    color: #adb5bd;
    transition: all 0.5s ease;
  }
  
  .trustee-card:hover .avatar-icon {
    transform: scale(1.08);
    color: var(--bs-primary);
  }



/* achivement csss  */

  .achievement-card {
    border: 1.5px solid #333333;
    border-radius: 4px;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
  }
  
  
  
  .achievement-img-container {
    height: 420px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    display: block;
    border-bottom: 1.5px solid #333333;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .achievement-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.5s ease;
  }
  
 
  
  .achievement-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    text-align: center;
  }
  
  .achievement-icon {
    font-size: 4rem;
    color: #ced4da;
    transition: color 0.3s ease;
  }
  
  .achievement-card:hover .achievement-icon {
    color: var(--bs-primary);
  }

  .achievement-banner {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
  }
  
  .achievement-title {
    font-size: 0.85rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    text-transform: capitalize;
  }


  /* audit css */

   .audit-btn {
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
  }
  
  .audit-btn:hover {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
  
  .doc-card {
    border: 2px solid #222222;
    border-radius: 4px;
    background: #ffffff;
    transition: all 0.4s ease;
  }
  
  .doc-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
  }
  
  .doc-img-container {
    height: 480px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .doc-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
  }
  
  .doc-card:hover .doc-img {
    transform: scale(1.03);
  }
  
  .doc-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    text-align: center;
  }
  
  .doc-icon {
    font-size: 4rem;
    color: #ced4da;
    transition: all 0.4s ease;
  }
  
  .doc-card:hover .doc-icon {
    color: var(--bs-primary);
  }


  /* advisor css */

   .advisor-card {
    border: none;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
  }
  
  .advisor-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
  }
  
  .advisor-img-box {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--bs-primary);
  }
  
  .advisor-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .advisor-card:hover .advisor-img {
    transform: scale(1.03);
  }
  
  .advisor-fallback-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
  }
  
  .avatar-icon {
    font-size: 5rem;
    color: #adb5bd;
    transition: color 0.3s ease;
  }
  
  .advisor-card:hover .avatar-icon {
    color: var(--bs-primary);
  }

  .advisor-btn {
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }
  
  .advisor-btn:hover {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: #ffffff !important;
  }


   .profile-container {
    max-width: 900px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 50px 40px;
    margin: 40px auto;
  }
  
  .profile-avatar-box {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 3px solid var(--bs-primary);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .profile-fallback-icon {
    font-size: 4.5rem;
    color: #ced4da;
  }
  
  .profile-name {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    color: #222222;
    margin-bottom: 5px;
  }
  
  .profile-specialty {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  
  .profile-credentials {
    font-weight: 600;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  
  .profile-divider {
    border-top: 2px solid #e9ecef;
    margin: 30px 0;
  }
  
  .profile-bio {
    font-family: 'Open Sans', sans-serif;
    color: #555555;
    line-height: 1.8;
    text-align: justify;
  }

/* ==========================================================================
   Payment Loader Overlay Styles
   ========================================================================== */
#payment-loader-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
}

#payment-loader-overlay .loader-box {
  text-align: center;
  max-width: 400px;
  padding: 35px 30px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

#payment-loader-overlay .spinner-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

#payment-loader-overlay .double-bounce1,
#payment-loader-overlay .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bs-primary);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

#payment-loader-overlay .double-bounce2 {
  background-color: var(--bs-secondary);
  animation-delay: -1.0s;
}

#payment-loader-overlay .loader-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  color: var(--bs-secondary);
  font-family: 'Josefin Sans', sans-serif;
}

#payment-loader-overlay .loader-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px;
}

#payment-loader-overlay .loader-progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

#payment-loader-overlay .loader-progress-fill {
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
  border-radius: 3px;
  animation: progress-animation 2.5s infinite ease-in-out;
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  }
  50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

@keyframes progress-animation {
  0% {
    width: 0%;
    margin-left: 0%;
  }
  50% {
    width: 50%;
    margin-left: 25%;
  }
  100% {
    width: 0%;
    margin-left: 100%;
  }
}

/* Fix label color when floated to top inside the homepage donate form */
.donate .donate-form .form-floating > .form-control:focus ~ label,
.donate .donate-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: #1e293b !important;
}

/* Achievements Modal & Hover Styles */
.achievement-card.has-image {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* Modal styling - Light Theme (Shared by Achievements, Gallery and Documents) */
#achievementModal .modal-content,
#galleryModal .modal-content,
#documentModal .modal-content {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

#achievementModal .btn-close-custom,
#galleryModal .btn-close-custom,
#documentModal .btn-close-custom {
  background-color: rgba(0, 0, 0, 0.06);
  color: #333333;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
#achievementModal .btn-close-custom:hover,
#galleryModal .btn-close-custom:hover,
#documentModal .btn-close-custom:hover {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
  transform: scale(1.1);
}

#achievementModal .btn-nav,
#galleryModal .btn-nav,
#documentModal .btn-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1052;
}
#achievementModal .btn-nav:hover,
#galleryModal .btn-nav:hover,
#documentModal .btn-nav:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

#achievementModal #modalPrevBtn:hover,
#achievementModal #modalNextBtn:hover,
#galleryModal #galleryPrevBtn:hover,
#galleryModal #galleryNextBtn:hover,
#documentModal #modalDocPrevBtn:hover,
#documentModal #modalDocNextBtn:hover {
  transform: translateY(-50%) scale(1.1);
}

#modalAchievementImg,
#galleryModalImg,
#modalDocImg {
  max-height: 85vh; 
  border-radius: 8px; 
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); 
  object-fit: contain; 
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.25s ease; 
  opacity: 0;
  transform: scale(0.95);
}

/* Document Gallery Clickable Wrapper Styles */
.doc-img-wrapper {
  border: 1px solid #eef2f6;
  background-color: #ffffff;
  transition: all 0.3s ease;
  overflow: hidden;
}



@media (max-width: 768px) {
  #achievementModal .btn-nav,
  #galleryModal .btn-nav,
  #documentModal .btn-nav {
    width: 40px;
    height: 40px;
  }
  #achievementModal .btn-nav i,
  #galleryModal .btn-nav i,
  #documentModal .btn-nav i {
    font-size: 0.9rem;
  }
  #modalAchievementImg,
  #galleryModalImg,
  #modalDocImg {
    max-height: 75vh;
  }
}

/* Responsive adjustment for Email Badge Card on Contact Page */
@media (max-width: 576px) {
  .email-badge-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 16px 20px !important;
    max-width: calc(100% - 30px) !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }
  .email-badge-card .email-badge-icon {
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }
  .email-badge-text-wrap {
    font-size: 0.95rem !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
  }
  .email-badge-label {
    display: block !important;
    margin-bottom: 2px !important;
  }
}

/* Documents Carousel Left/Right Navigation */
.docs-carousel {
  position: relative;
}

.docs-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.docs-carousel .owl-nav .owl-prev,
.docs-carousel .owl-nav .owl-next {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  background: var(--bs-primary) !important;
  color: #fff !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
}

.docs-carousel .owl-nav .owl-prev:hover,
.docs-carousel .owl-nav .owl-next:hover {
  background: var(--bs-secondary) !important;
  color: #fff !important;
  transform: scale(1.1);
}

.docs-carousel .owl-nav .owl-prev {
  margin-left: -20px;
}

.docs-carousel .owl-nav .owl-next {
  margin-right: -20px;
}

@media (max-width: 768px) {
  .docs-carousel .owl-nav .owl-prev {
    margin-left: -10px;
  }

  .docs-carousel .owl-nav .owl-next {
    margin-right: -10px;
  }
}




