/* PayZakat Homepage Styles */

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f8f8f8;
  color: #222;
}

.payzakat-home {
  width: 100%;
  margin: 0;
  background: #fff;
  min-height: 100vh;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0;
}

.header {
  padding: 1rem 1rem 0.5rem 1rem;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.logo-search-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 32px;
}
.search-form {
  flex: 1;
  display: flex;
  margin: 0 1rem;
  background: #f2f2f2;
  border-radius: 8px;
  overflow: hidden;
}
.search-form input[type="search"] {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  flex: 1;
  outline: none;
}
.search-form button {
  background: none;
  border: none;
  padding: 0 0.75rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: #888;
}
.profile-btn {
  background: none;
  border: none;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.hero-carousel {
  margin: 1rem 0;
  position: relative;
}
.carousel-slide {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 1rem;
  background: #eaf6ff;
  min-height: 160px;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  align-items: flex-end;
}
.carousel-slide img {
  width: 100%;
  display: block;
  height: 140px;
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 1;
}
.carousel-caption {
  position: relative;
  z-index: 2;
}
.carousel-caption h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.carousel-caption p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.cta-btn {
  display: inline-block;
  background: #ffb300;
  color: #fff;
  font-weight: 600;
  padding: 0.5em 1.2em;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(255,179,0,0.12);
  transition: background 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ff9800;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  margin-top: 1.5rem;
}
.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.see-all {
  color: #ffb300;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.program-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
}
.program-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-width: 220px;
  max-width: 220px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.program-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}
.program-info {
  padding: 0.75rem 1rem 1rem 1rem;
}
.program-info h3 {
  font-size: 1rem;
  margin: 0 0 0.5em 0;
  font-weight: 600;
}
.progress-bar {
  background: #e0e0e0;
  border-radius: 8px;
  height: 8px;
  margin: 0.5em 0;
  width: 100%;
  overflow: hidden;
}
.progress {
  background: #4caf50;
  height: 100%;
  border-radius: 8px 0 0 8px;
}
.program-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.95em;
  color: #666;
}

.kategori-program {
  margin: 1.5rem 0 0.5rem 0;
  padding: 0 1rem;
}
.kategori-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.kategori-card {
  background: #f2f2f2;
  border: none;
  border-radius: 12px;
  padding: 0.75em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  flex: 1 1 30%;
  font-size: 0.98em;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}
.kategori-card:hover, .kategori-card:focus {
  background: #ffe0b2;
}
.kategori-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 0.5em;
}

.testimoni {
  margin: 2rem 0 1rem 0;
  padding: 0 1rem;
}
.testimoni-card {
  background: #fffbe7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255,179,0,0.08);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.testimoni-profile {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimoni-content {
  flex: 1;
}
.testimoni-content cite {
  font-weight: 600;
  font-style: normal;
  color: #ff9800;
}
.stars {
  color: #ffb300;
  font-size: 1.1em;
  margin-left: 0.2em;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.25em 0;
  z-index: 10;
}
.nav-btn {
  background: none;
  border: none;
  padding: 0.5em 0 0.2em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #888;
  font-size: 0.95em;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-btn.active, .nav-btn:focus {
  color: #ffb300;
}
.nav-btn span[aria-hidden="true"] {
  font-size: 1.3em;
}

.volunteer-cta {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  justify-content: center;
  z-index: 11;
}
.volunteer-btn {
  background: #ffb300;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 0.7em 2em;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(255,179,0,0.12);
  cursor: pointer;
  transition: background 0.2s;
}
.volunteer-btn:hover, .volunteer-btn:focus {
  background: #ff9800;
}

.icon-emoji {
  font-size: 2.2em;
  display: block;
  margin-bottom: 0.3em;
  text-align: center;
}

.zakat-types-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
}
.zakat-type-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-width: 220px;
  max-width: 220px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  font-size: 1em;
  color: #333;
}
.zakat-type-card strong {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 0.3em;
  display: block;
}

.zakat-type-card {
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.zakat-type-card:hover, .zakat-type-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}

@media (max-width: 500px) {
  .payzakat-home {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
  }
  .bottom-nav, .volunteer-cta {
    max-width: 100vw;
  }
} 