/* Styles for abu-nayeem.html */

.hero-section {
  background-color: black;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-details-page {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.campaign-content {
  display: flex;
  gap: 2rem;
  margin: 0 auto;
}

.campaign-main {
  flex: 2;
}

.campaign-sidebar {
  flex: 1;
}

.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-link {
  background-color: #f0f0f0;
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.tab-link.active {
  background-color: #14ff30;
  color: #000;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.patient-story .patient-photo {
  text-align: center;
  margin-bottom: 2rem;
}

.patient-story .patient-photo img {
  max-width: 100%;
  border-radius: 15px;
}

.patient-story p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.report-viewer {
  margin-bottom: 3rem;
}

.report-actions {
  margin-bottom: 1rem;
  text-align: right;
}

.report-actions .cta-button {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  min-width: auto;
}

.report-container iframe {
  width: 100%;
  height: 800px;
  border-radius: 15px;
  border: 1px solid #f0f0f0;
}

.news-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  text-align: left;
}

.news-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.news-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 5px;
}

.news-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.news-content p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-content span {
  font-size: 0.8rem;
  color: #666;
}

.sticky-sidebar {
  position: sticky;
  top: 120px;
}

.fundraising-goal {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
}

.fundraising-goal h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: #14ff30;
  border-radius: 5px;
  transition: width 1s ease-in-out;
}

.goal-stats {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
}

.stat {
  text-align: center;
  flex: 1;
  padding: 0.5rem;
  background-color: #f8f8f8;
  border-radius: 8px;
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  display: block;
}

.update-notice {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
}

.donation-options-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 10px;
}

.payment-method img {
  max-width: 80px;
}

.card {
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.copy-icon {
  cursor: pointer;
  margin-left: 10px;
  color: #333;
  transition: color 0.3s ease;
}

.copy-icon:hover {
  color: #14ff30;
}

.tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tooltip.show {
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .campaign-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }

  .tab-link {
    width: 100%;
    text-align: center;
  }

  .news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Donation Popup Styles */
.donation-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #000;
  color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 2.5rem;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.donation-popup.show {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.popup-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.popup-content img {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
}

.popup-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.popup-content p {
  margin: 0;
  font-size: 1rem;
}

.popup-content p strong {
  font-weight: bold;
}

.popup-content p small {
  font-size: 0.8rem;
  font-weight: normal;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #fff;
}
