

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}
body {
  background-color: #f8f9fa;
}

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f5132;
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.main-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.sub-title {
  font-size: 0.85rem;
  color: #40916c;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: #212529;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0f5132;
  border-bottom: #0f5132 2px solid;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions-items{
    display: none;
}

.btn {
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-login-n , .btn-register:hover{
  color: #0f5132;
 background-color: rgba(15, 81, 50, 0.05);
  border: 1px solid #0f5132;
}

.btn-register , .btn-login-n:hover{
  background-color: #0f5132;
  color: #ffffff;
  border: 1px solid #0f5132;
}

.register-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.register-hint {
  color: #40916c;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}


.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #0f5132;
  transition: all 0.3s ease;
  border-radius: 3px;
}
/*hero section*/
.hero-section {
  padding: 120px 30px 60px 30px;
  background-color: #faf7f2;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-image-container {
  width: 70%;
  flex: 1;
  display: flex;
  justify-content: left;
}

.hero-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
  flex: 1.2;
  text-align: right;
  padding: 0px 20px;
}

.hero-title {
  font-size: 2.6rem;
  color: #0f5132;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title span {
  font-size: 2rem;
  font-weight: 700;
}

.hero-description {
  font-size: 1rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 550px;
}

.features-wrapper {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.feature-card {
  background: transparent;
  border-right: 2px solid #e0e0e0;
  padding: 15px 25px;
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card-icon {
  font-size: 1.8rem;
  color: #0f5132;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 5px;
}

.card-text {
  font-size: 0.85rem;
  color: #6c757d;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-right-color: #0f5132;
}

.hidden-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show-card {
  opacity: 1;
  transform: translateY(0);
}

.features-wrapper .feature-card:nth-child(1) {
  transition-delay: 0.1s;
}

.features-wrapper .feature-card:nth-child(2) {
  transition-delay: 0.3s;
}

.features-wrapper .feature-card:nth-child(3) {
  transition-delay: 0.5s;
}
/*about section*/
.about-section {
  background-color: #f4f7f6;
  padding: 40px;
  border-radius: 50px;
  max-width: 1200px;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.container {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: stretch;
  justify-content: space-between;
}

.content-side {
  width: 500px;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 20px;
}

.section-title {
  color: #0c392b;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-desc {
  color: #555555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
  text-align: justify;
}

.stats-container {
  display: flex;
  gap: 16px;
}

.stat-card {
  background-color: #ffffff;
  flex: 1;
  padding: 20px 15px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.01);
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(12, 57, 43, 0.1);
}

.stat-label {
  display: block;
  color: #555555;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  direction: ltr;
  color: #0c392b;
  font-size: 24px;
  font-weight: 800;
}

.image-side {
  width: 500px;
  flex: 1;
  min-height: 300px;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}
/* dashboard section*/
.donation-dashboard {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard-card {
    background-color: #0f342d;
    border: 1px solid #16463d;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.stat-box {
  text-align: center;
  margin-bottom: 10px;
}

.card-title-d {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px 0;
  color: #e0e0e0;
}

.main-number {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 4px;
}

.currency {
  font-size: 16px;
  font-weight: normal;
  margin-right: 5px;
  display: inline-block;
}

.sub-text {
  font-size: 13px;
  color: #a0b2ae;
  margin: 0;
}

.monthly-stat-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  margin: 10px;
  text-align: center;
}

.sub-title-d {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 5px 0;
  color: #fff;
}

.secondary-number {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.secondary-number span:last-child {
  font-size: 16px;
  font-weight: normal;
  margin-right: 5px;
}

.chart-container {
  width: 100%;
  margin-top: 10px;
}

.sparkline {
  width: 100%;
  height: auto;
  display: block;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.card-main-action {
  background-color: #0c3329;
  color: #ffffff;
  direction: rtl;
  padding: 24px;
  border-radius: 16px;
  width: 360px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.card-main-action .stat-box {
  text-align: center;
}

.card-main-action .main-number.highlight {
  font-size: 34px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 6px;
}

.card-main-action .sub-text {
  font-size: 14px;
  color: #a3b8b4;
  margin-bottom: 15px;
}


.progress-bar-wrapper {
  background-color: rgba(255, 255, 255, 0.08);
  height: 8px;
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
  margin-top: 10px;
  direction: ltr;
}

.progress-bar {
  background-color: #3bb393!important;
  height: 10px;
  border-radius: 4px;
  transition: width 0.5s ease-in-out;
}
.progress-text2 {
  display: block;
  font-size: 12px;
  color: #a0b2ae;
  margin-top: 8px;
  text-align: center;
}

.donation-sectors {
  text-align: center;
}

.sect-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.sectors-grid {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.sectors-grid::-webkit-scrollbar {
  height: 4px;
}

.sectors-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.sector-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 6px;
  min-width: 58px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sector-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.sector-item i {
  font-size: 18px;
  color: #e0e0e0;
}

.sector-item span {
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
  color: #e0e0e0;
}

.btn-primary {
  background-color: #278870;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.btn-primary:hover {
  background-color: #1f6d59;
}

.footer-note {
  text-align: center;
  font-size: 14px;
  color: #a3b8b4;
  margin: -5px 0 0 0;
  cursor: pointer;
}

.footer-note:hover {
  color: #ffffff;
  text-decoration: underline;
}
.card-recent {
  background-color: #0c3329;
  color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  width: 360px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.card-recent .card-title-d {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 4px 0;
}

.recent-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-item {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  transition: background-color 0.2s ease;
}

.recent-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.recent-item div{
  display: flex;
  align-items: center;
  justify-content: center;
}

.donor-avatar {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  flex-shrink: 0;
}

.donor-avatar i {
  font-size: 18px;
  color: #e0e0e0;
}
.recent-item div{
  display: flex;
  justify-content: center;
  align-items: center;
}

.donor-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: ri;
}

.donor-name {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.donor-time {
  font-size: 12px;
  color: #a3b8b4;
  margin: 0;
}

.amount-tag {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap;
  direction: rtl;
}

.btn-text {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 5px;
}

.btn-text:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.6);
}
/*join section*/
.join-us-section {
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 60px 20px;
    background-color: #fafbfa;
}

.join-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 30px;
}

.section-title {
    color: #0c3329;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.section-subtitle {
    color: #6e827f;
    font-size: 14px;
    margin: 0 0 25px 0;
}

.center-header {
    text-align: center;
}

.citizen-options-card, .account-types-card {
    background-color: #eff2f1;
    border: 1px solid rgba(12, 51, 41, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.options-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.option-row {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.option-row:hover , .type-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 150, 90, 0.35);
border-color: rgba(0, 150, 90, 0.6);
}

.option-icon {
    font-size: 32px;
    color: #124e3f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-info h4 {
    color: #0c3329;
    font-size: 18px;
    margin: 0 0 6px 0;
    font-weight: bold;
}

.option-info p {
    color: #556b66;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

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

.type-box {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.box-icon {
    font-size: 36px;
    color: #124e3f;
    margin-bottom: 15px;
}

.type-box h4 {
    color: #0c3329;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.type-box p {
    color: #6e827f;
    font-size: 12.5px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.btn-login {
    background-color: #124e3f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-login:hover {
    background-color: #0b3329;
}

.btn-login:active {
    transform: scale(0.98);
}
/*info section*/
.info-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.info-card {
    background-color: #fdfcf9;
    border-radius: 20px;
    padding: 35px 25px;
    border: 1px solid #f0ede6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(7, 82, 67, 0.08);
    border-color: rgba(7, 82, 67, 0.15);
}
.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -100px;
  width: 180px;
  height: 180px;
  background-image: url('/images/tree.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  transform: rotate(5deg);
  transform-origin: top right;
}
.notifications-card {
  position: relative;
  overflow: hidden;
}

.notifications-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 15px;
  width: 60px;
  height: 60px;
  background-image: url('/images/tree.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  transform: scaleX(-1) rotate(-45deg);
  transform-origin: bottom left;
}
.appeal-card {
  position: relative;
  overflow: hidden;
}

.appeal-card::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: -30px;
  width: 150px;
  height: 150px;
  background-image: url('/images/hand.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  transform: rotate(15deg) scale(1.2);
}

.appeal-card * {
  position: relative;
  z-index: 2;
}

.card-title {
    color: #075243;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.card-subtitle {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-details {
    width: 100%;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 15px 15px;
    width: 100%;
    direction: ltr;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-item:hover .icon-box {
    background-color: #075243;
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

.item-text {
    font-size: 0.95rem;
    color: #333333;
    margin-right: 12px;
    font-weight: 600;
}

.icon-box {
    width: 32px;
    height: 32px;
    background-color: #f0f5f4;
    color: #075243;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 0 auto;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #075243;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-icon:hover {
    background-color: #d94436;
    transform: translateY(-4px) rotate(360deg);
}

.badge-urgent {
    background-color: #d94436;
    color: white;
    padding: 4px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.appeal-heading {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.appeal-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    margin-bottom: 30px;
}

.progress-text {
    font-size: 0.85rem;
    color: #333333;
    margin-bottom: 8px;
    text-align: right;
}

.progress-text strong {
    color: #d94436;
}

.progress-bar2 {
  width: 100%;
  height: 6px;
  background-color: #e6e3dc;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 31.25%;
  background-color: #d94436;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.btn-donate {
    width: 100%;
    background-color: #075243;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

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

.btn-donate:hover {
    background-color: #0a6b58;
    box-shadow: 0 5px 15px rgba(7, 82, 67, 0.3);
}

.notifications-list {
    width: 100%;
    margin-bottom: 20px;
}

.notification-item {
  direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0ede6;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: rgba(7, 82, 67, 0.01);
    padding-right: 5px;
}

.bell-icon {
    color: #d94436;
    font-size: 1.1rem;
    margin-left: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.notification-item:hover .bell-icon {
    animation: ring 0.5s ease-in-out;
}

.noti-content {
    flex-grow: 1;
    text-align: right;
}

.noti-content h5 {
    font-size: 0.9rem;
    color: #333333;
    font-weight: 700;
}

.noti-content p {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 2px;
}

.noti-time {
    font-size: 0.75rem;
    color: #999;
    white-space: nowrap;
}

.btn-view-all {
    width: 100%;
    background-color: transparent;
    border: 1px solid #f0ede6;
    color: #333333;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-view-all:hover {
    border-color: #075243;
    color: #075243;
    background-color: rgba(7, 82, 67, 0.02);
}

.card-leaves-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top left, rgba(7, 82, 67, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.card-leaves-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at bottom right, rgba(7, 82, 67, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 68, 54, 0.4); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(217, 68, 54, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 68, 54, 0); }
}

@keyframes ring {
    0% { transform: rotate(0); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
    100% { transform: rotate(0); }
}
/*footer*/
.main-footer {
  background-color: #074236;
  color: #ffffff;
  padding: 20px 0;
  width: 100%;
  margin-top: 40px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.footer-copyright {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.75;
}



@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    right: -100%;
    left: auto;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    height: calc(100vh - 75px);
    text-align: center;
    gap: 20px;
    padding: 40px 0;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.08);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    display: inline-block;
    width: max-content;
    font-size: 1.15rem;
    padding: 14px;
    color: #212529;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .nav-link:hover {
    background-color: transparent;
    border-bottom: #0f5132 2px solid;
    color: #0f5132;
  }

  .nav-actions {
    display: none;
  }
  
  .nav-actions-items{
      display: block;
  }

    

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hero-container {
  flex-direction: column-reverse;
  gap: 30px;
  text-align: center;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.features-wrapper {
  flex-direction: column;
  width: 100%;
  gap: 15px;
}

.feature-card {
  border-right: none;
  border-bottom: 2px solid #e0e0e0;
  padding: 20px;
}
  .container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .image-side {
    height: 300px;
  }
  .stats-container{
    flex-direction: column;
  }
      .dashboard-container {
      grid-template-columns: 1fr;
    }
    .join-us-section .container {
  grid-template-columns: 1fr;
}
   .types-grid {
     grid-template-columns: 1fr;
   }
     .container {
    grid-template-columns: 1fr;
  }
  .hero-image-container{
    width: 100%;
  }
  .content-side{
    width: 100%;
    text-align: center;
  }
  .section-desc{
    text-align: center;
  }
  .image-side{
    width: 100%;
  }
   .contact-card::after {
        width: 80px;
    }
    .contact-card::after{
      right: -10px;
      transform: rotate(-15deg);
    }

}


@media (min-width: 992px) {
  .nav-actions-items{
      display: none;
  }
}

.chart-container {
  width: 100%;
  margin-top: 10px;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chart-tooltip {
  position: absolute;
  top: -25px;
  right: 35px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.chart-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 45%;
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.9) transparent;
}

.chart-container:hover .chart-tooltip,
.chart-container:active .chart-tooltip {
  opacity: 1;
  transform: translateY(0);
}
.donation-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(12, 57, 43, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.donation-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.donation-modal-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-align: right;
}

.donation-modal-card h3 {
  margin: 0 0 20px 0;
  color: #0c392b;
  font-size: 18px;
}

.modal-form-group {
  margin-bottom: 15px;
}

.modal-form-group label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
  font-weight: 600;
}

.modal-form-group input[type="text"],
.modal-form-group input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  box-sizing: border-box;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-group input {
  margin-left: 8px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-confirm {
  flex: 2;
  background: #0c392b;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn-cancel {
  flex: 1;
  background: #f1f5f9;
  color: #334155;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}
