/* Reset dan Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: white;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Top Bar */
.top-bar {
  background-color: #00923F;
  color: white;
  padding: 0.5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info, .auth-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
}

.top-bar a:hover {
  color: #90EE90;
}

/* Navigation */
.main-nav {
  background: #E0F7FA;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}


.logo {
  display: flex;
  align-items: center;
  gap: 1rem; /* Adjust the gap between the logos as needed */
}

.logo img {
  height: 48px; /* Maintain the same height as the original logo for consistency */
  width: auto;
}

.secondary-logo {
  margin-top: -17px;/* Optional: Add specific styling for the new logo if needed */
}
.nav-links {
  display: none;
}

.nav-links a {
  color: #374151;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00923F;
}

.donate-button {
  background-color: #00923F;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.donate-button:hover {
  background-color: #007832;
}

.menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px; /* Menambahkan nilai default untuk desktop */
} 

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

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 42rem;
  color: white;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* Programs Section */
.programs {
  padding: 4rem 0;
  background-color: #F9FAFB;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.program-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.program-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.program-icon {
  color: #00923F;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #00923F;
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  color: #90EE90;
}

.footer-bottom {
  border-top: 1px solid #4CAF50;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

/* Media Queries */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .menu-button {
    display: none;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .programs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #333;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@media (max-width: 767px) {
  .whatsapp-widget {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}

/* Slider Section */
.slider-section {
  padding: 4rem 0;
  background-color: white;
  overflow: hidden; /* Prevent horizontal scroll on mobile */
}

.slider-section .container {
  max-width: 1000px;
}

.slider-container {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  padding: 0 2.5rem; /* Increase padding for navigation buttons */
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1rem;
}

.slide {
  flex: 0 0 calc(20% - 0.8rem); /* 5 slides in desktop */
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slide-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 0.25rem;
}

.slide-content {
  padding: 0.5rem;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slide-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.slide-content p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 1;
}

.slider-nav:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background: #eee;
}

.slider-nav:not(:disabled):hover {
  background: #00923F;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 0;
}

.slider-nav.next {
  right: 0;
}

.slider-nav svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #00923F;
  transform: scale(1.2);
}

/* Add this CSS to styles.css */
.humanitarian-categories {
  padding: 4rem 0;
  background-color: #fff;
}

.category-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-wrapper i {
  font-size: 2rem;
  color: #00923F;
  transition: all 0.3s ease;
}

.category-item p {
  font-size: 1rem;
  color: #374151;
  text-align: center;
  margin: 0;
  font-weight: 500;
}

.category-item.active .icon-wrapper {
  background: #00923F;
}

.category-item.active .icon-wrapper i {
  color: white;
}

@media (max-width: 768px) {
  .category-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .icon-wrapper i {
    font-size: 1.5rem;
  }

  .category-item p {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .humanitarian-categories {
    padding: 2rem 0;
  }

  .category-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .slider-section {
    padding: 2rem 0;
  }

  .slider-container {
    padding: 0 2rem;
  }

  .slide {
    flex: 0 0 100%;
  }

  .slider-nav {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
  }

  .slider-nav.prev {
    left: 5px;
  }

  .slider-nav.next {
    right: 5px;
  }

  .slide-content {
    padding: 0.35rem;
  }

  .slide-image {
    height: 140px;
  }

  .slide-content h3 {
    font-size: 1.1rem;
  }

  .slide-content p {
    font-size: 0.8rem;
  }

  .slider-dots {
    margin-top: 1rem;
  }

  .dot {
    width: 6px;
    height: 6px;
  }
}

/* News Slider Section */
.news-slider-section {
  padding: 4rem 0;
  background-color: #F9FAFB;
  overflow: hidden;
}

.news-slider-section .container {
  max-width: 1000px;
}

.news-slide {
  background: white;
}

.news-date {
  color: #00923F;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.read-more-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: #00923F;
  border: 2px solid #00923F;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more-button:hover {
  background-color: #00923F;
  color: white;
}

@media (max-width: 767px) {
  .news-slider-section {
    padding: 2rem 0;
  }

  .news-date {
    font-size: 0.75rem;
  }

  .read-more-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
  }
}

/* Donate Section */
.donate-section {
  padding: 4rem 0;
  background-color: white;
  overflow: hidden;
}

.donate-section .container {
  max-width: 1000px;
}

.donate-slide {
  background: white;
}

.donate-progress {
  background: #F8FAFC;
  padding: 0.5rem;
  border-radius: 8px;
  margin: 0.25rem 0;
}

.progress-bar-container {
  height: 8px;
  background: #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin: 0.5rem 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2196F3, #64B5F6);
  border-radius: 20px;
  transition: width 1s ease;
  position: relative;
  animation: shimmer 2s infinite linear;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.progress-tooltip {
  position: absolute;
  right: 0;
  top: -30px;
  background: #2196F3;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  transform: translateX(50%);
  box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.progress-tooltip:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #2196F3;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
  font-size: 11px;
  padding: 0 4px;
}

.collected-amount,
.target-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.collected-amount .amount,
.target-amount .amount {
  font-size: 12px;
  font-weight: 600;
  color: #2196F3;
  margin-bottom: 2px;
}

.collected-amount .label,
.target-amount .label {
  font-size: 10px;
  color: #666;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .collected-amount .amount,
  .target-amount .amount {
    font-size: 11px;
  }
  
  .collected-amount .label,
  .target-amount .label {
    font-size: 9px;
  }
}

.campaign-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
}

.stat-item {
  display: flex;
  align-items: center;
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 500;
}

.stat-item i {
  margin-right: 0.5rem;
  color: #2196F3;
}

.time-left .ended {
  color: #FF6B6B;
}

.donate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #138009, #04a856);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 1rem;
}

.donate-button i {
  margin-right: 0.5rem;
}

.donate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 132, 227, 0.3);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .progress-bar-container {
    height: 8px;
  }
  
  .amount {
    font-size: 1.125rem;
  }
  
  .label {
    font-size: 0.75rem;
  }
}

/* Testimonial Section */
.testimonial-section {
  padding: 4rem 0;
  background-color: white;
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  margin-top: 2rem;
  padding: 2rem 0;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testimonial-content {
  background: #F9FAFB;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quote-icon {
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #00923F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.quote-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-image {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00923F;
}

.profile-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.profile-info p {
  font-size: 0.9rem;
  color: #6B7280;
}

/* Testimonial Navigation */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: white;
  border: 2px solid #00923F;
  color: #00923F;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background: #00923F;
  color: white;
}

.testimonial-nav.prev {
  left: 1rem;
}

.testimonial-nav.next {
  right: 1rem;
}

.testimonial-nav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .testimonial-section {
    padding: 3rem 0;
  }

  .testimonial-slide {
    padding: 0 0.5rem;
  }

  .testimonial-content {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .testimonial-nav.prev {
    left: 0.5rem;
  }

  .testimonial-nav.next {
    right: 0.5rem;
  }

  .profile-image {
    width: 3rem;
    height: 3rem;
  }

  .profile-info h4 {
    font-size: 1rem;
  }

  .profile-info p {
    font-size: 0.8rem;
  }
} 

/* Popular Programs Section */
.popular-programs-section {
  padding: 4rem 0;
  background-color: #F9FAFB;
}

.popular-programs-section .slider-container {
  overflow: hidden;
  position: relative;
}

.popular-programs-section .slider-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.popular-programs-section .slide {
  flex: 0 0 100%;
  padding: 1rem;
}

.popular-programs-section .news-slide {
  display: flex;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.popular-programs-section .slide-image {
  width: 40%;
  object-fit: cover;
}

.popular-programs-section .slide-content {
  width: 60%;
  padding: 1.5rem;
}

.popular-programs-section .program-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #E5F6EE;
  color: #00923F;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.popular-programs-section h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 0.75rem;
}

.popular-programs-section p {
  color: #6B7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.popular-programs-section .program-info {
  margin-bottom: 1.5rem;
}

.popular-programs-section .target,
.popular-programs-section .collected {
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.popular-programs-section .read-more-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #00923F;
  color: white;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.3s;
}

.popular-programs-section .read-more-button:hover {
  background-color: #007832;
}

@media (max-width: 768px) {
  .popular-programs-section .news-slide {
    flex-direction: column;
  }
  
  .popular-programs-section .slide-image,
  .popular-programs-section .slide-content {
    width: 100%;
  }
  
  .popular-programs-section .slide-image {
    height: 200px;
  }
}

/* Campaign Detail Styles */
.campaign-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.campaign-header {
    margin-bottom: 0;
    background-color: #fff;
}

.campaign-image-container {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.campaign-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.campaign-main-image.fade {
    opacity: 0.7;
}

.campaign-slider-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 2;
}

.slider-arrow {
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.campaign-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.campaign-image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    z-index: 2;
}

.campaign-info {
    margin-bottom: 0.35rem;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #fff;
}

.campaign-badge i {
    margin-right: 0.5rem;
}

.campaign-badge.kemanusiaan {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.campaign-badge.masjid {
    background: linear-gradient(135deg, #4CAF50, #81C784);
}

.campaign-badge.pendidikan {
    background: linear-gradient(135deg, #2196F3, #64B5F6);
}

.campaign-badge.kesehatan {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
}

.campaign-badge.umkm {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
}

.campaign-badge.sosial {
    background: linear-gradient(135deg, #607D8B, #90A4AE);
}

.campaign-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2D3436;
    margin: 0.25rem 0;
    line-height: 1.2;
}

.campaign-organizer {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.campaign-organizer i {
    margin-right: 0.5rem;
    color: #74B9FF;
}

.donation-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    color: #666;
}

.donors, .time-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.donors i, .time-left i {
    font-size: 0.85rem;
    color: #00923F;
}

.progress-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 8px;
    background-color: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress {
    height: 100%;
    background-color: #00923F;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.donation-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.collected span, .target span {
    font-weight: 600;
    color: #333;
    display: block;
}

.collected small, .target small {
    font-size: 0.7rem;
    color: #888;
}

.campaign-tabs {
    display: flex;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    justify-content: space-between; /* Distribute tabs evenly */
    width: 100%;
}

.campaign-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
    padding: 0.85rem 0;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    flex: 1; /* Make all tabs equal width */
    text-align: center;
}

.tab-btn.active {
    color: #00923F;
    font-weight: 500;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00923F;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.campaign-content {
    padding: 20px;
    background-color: #fff;
    margin-top: 10px;
    border-radius: 0 0 12px 12px;
}

.campaign-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.campaign-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.campaign-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.campaign-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #00923F;
    border-radius: 2px;
}

.campaign-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0.75rem;
}

.campaign-section p:last-child {
    margin-bottom: 0;
}

.campaign-section p strong {
    font-weight: 600;
    color: #333;
}

.story-content {
    position: relative;
    overflow: hidden;
}

.hidden-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hidden-content.visible {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.read-more-btn {
    background: none;
    border: none;
    color: #00923F;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin-top: 0.75rem;
    transition: color 0.3s;
}

.read-more-btn:hover {
    color: #007a34;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

.diagnosis-box {
    background-color: #F3F4F6;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #00923F;
}

.diagnosis-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
}

.donatur-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.donatur-item {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #E5E7EB;
}

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

.donatur-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #E5E7EB;
}

.donatur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donatur-info {
    flex: 1;
}

.donatur-name-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.donatur-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.donatur-time {
    font-size: 0.75rem;
    color: #888;
}

.donatur-amount {
    font-size: 0.85rem;
    color: #00923F;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.donatur-message {
    background-color: #F3F4F6;
    padding: 0.75rem;
    border-radius: 8px;
    position: relative;
}

.donatur-message:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #F3F4F6;
}

.donatur-message p {
    margin: 0;
    font-size: 0.85rem;
    color: #444;
    font-style: italic;
}

.see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.see-more-btn {
    background-color: #fff;
    border: 1px solid #E5E7EB;
    color: #00923F;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background-color: rgba(0, 146, 63, 0.1);
    border-color: #00923F;
}

.fundraiser-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #F9FAFB;
    border-radius: 8px;
}

.empty-fundraiser-img {
    width: 100px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.fundraiser-empty p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.25rem;
}

.become-fundraiser-btn {
    background-color: #00923F;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}

.become-fundraiser-btn:hover {
    background-color: #007a34;
}

.report-campaign {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.report-btn {
    display: block;
    width: 100%;
    background: none;
    border: 1px solid #E5E7EB;
    color: #F43F5E;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.report-btn:hover {
    background-color: rgba(244, 63, 94, 0.05);
    border-color: #F43F5E;
}

.donation-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 0.85rem 1rem;
    display: flex;
    gap: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.share-btn {
    flex: 1;
    background-color: white;
    border: 1px solid #E5E7EB;
    color: #333;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: #F3F4F6;
}

.donate-btn {
    flex: 2;
    background-color: #00923F;
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}

.donate-btn:hover {
    background-color: #007a34;
}

.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Tab Content Styles */
.tab-content {
    display: none;
}

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

/* Update Timeline Styles */
.update-timeline {
    padding: 0;
    margin: 0;
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    padding-left: 30px;
    border-left: 2px solid #e5e7eb;
}

.timeline-point {
    position: absolute;
    left: -6px;
    top: 28px;
    width: 10px;
    height: 10px;
    background-color: #2196F3;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #2196F3;
}

.timeline-content {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

.update-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.update-title {
    margin: 0;
}

.update-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 5px 0;
}

.update-link:hover {
    color: #2196F3;
}

.update-link i {
    font-size: 0.8rem;
    color: #999;
}

.update-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.update-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.no-updates {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

@media (max-width: 768px) {
    .timeline-item {
        padding-left: 20px;
    }

    .update-link {
        font-size: 0.9rem;
    }

    .update-images img {
        width: 80px;
        height: 80px;
    }
}

/* Rincian Dana Styles */
.rincian-dana {
    padding: 10px 0;
}

.rincian-dana h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.rincian-dana h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #00923F;
    border-radius: 2px;
}

.rincian-table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.rincian-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.rincian-table th {
    background-color: #F3F4F6;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #E5E7EB;
}

.rincian-table td {
    padding: 12px;
    border-bottom: 1px solid #E5E7EB;
    color: #444;
}

.rincian-table tfoot td {
    font-weight: 600;
    color: #333;
    background-color: #F9FAFB;
}

.rincian-info {
    background-color: #F3F4F6;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #00923F;
}

.rincian-info p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #444;
}

.rincian-info p:last-child {
    margin-bottom: 0;
}

.rincian-info strong {
    color: #333;
}

@media (min-width: 768px) {
    .campaign-detail-container {
        margin-top: 1.5rem;
        margin-bottom: 5rem;
    }
    
    .campaign-title {
        font-size: 1.4rem;
    }
    
    .campaign-info {
        padding: 25px;
    }
    
    .campaign-content {
        padding: 25px;
    }
    
    .donation-action {
        max-width: 800px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .update-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .campaign-tabs {
        padding: 0 5px;
    }
    
    .tab-btn {
        padding: 0.75rem 0.5rem;
    }
    
    .timeline-date {
        width: 80px;
    }
    
    .timeline-item::after {
        left: 80px;
    }
    
    .update-image {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .update-images {
        flex-direction: column;
    }
}

/* Hover effect pada progress bar */
.progress-bar-container:hover .progress-bar {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

/* Rincian Dana Styles */
.total-dana {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.total-dana h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.total-dana p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.pencairan-count {
    margin: 15px 0;
}

.pencairan-count span {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.pencairan-count p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.info-link {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
}

.info-link:hover {
    text-decoration: underline;
}

.pencairan-list {
    padding: 0;
}

.pencairan-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.pencairan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pencairan-date {
    color: #666;
    font-size: 14px;
}

.pencairan-org {
    display: flex;
    align-items: center;
    gap: 8px;
}

.org-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.pencairan-org span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.pencairan-amount h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.pencairan-detail p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.pencairan-desc {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.pencairan-desc p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .total-dana h3 {
        font-size: 20px;
    }
    
    .pencairan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pencairan-amount h4 {
        font-size: 15px;
    }
}