@import url('/public/css/vazirmatn.css');
@import "https://lib.arvancloud.ir/font-awesome/6.3.0/css/all.min.css";
@import "https://lib.arvancloud.ir/bootstrap/5.2.3/css/bootstrap.rtl.min.css";

:root {
  --vana-blue: #0067A5;
  --vana-blue-dark: #004e7e;
  --vana-blue-light: #1a7ab5;
  --vana-cream: #f5f7f9;
  --vana-sage: #dfe6eb;
  --vana-text: #3a4b5c;
  --vana-text-muted: #7d8a8e;
  --mobile-header-height: 56px;
  --mobile-nav-height: 62px;
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Vazirmatn FD NL', sans-serif;
  background-color: var(--vana-cream);
  color: var(--vana-text);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

body.pwa-standalone {
  padding-top: env(safe-area-inset-top);
}

.main-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 15px rgba(0,103,165,0.08);
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid rgba(0,103,165,0.15);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--vana-blue-dark) !important;
  letter-spacing: -0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--vana-blue) !important;
}

.brand-leaf {
  color: var(--vana-blue);
  font-size: 1.5rem;
  margin-left: 6px;
  transition: transform 0.4s ease;
}

.navbar-brand:hover .brand-leaf {
  transform: rotate(-20deg);
}

.nav-link {
  font-size: 0.9rem;
  padding: 0.45rem 1rem !important;
  border-radius: 10px;
  margin: 0 1px;
  color: var(--vana-blue-dark);
  font-weight: 500;
  transition: all 0.25s;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--vana-sage);
  color: var(--vana-blue-dark);
}

.nav-link.active {
  background: #d4e1e8;
  color: var(--vana-blue-dark);
  font-weight: 700;
}

.dropdown-menu {
  border: 1px solid rgba(0,103,165,0.1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  color: var(--vana-text);
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: #f5f7f9;
  color: var(--vana-blue-dark);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  margin-left: 8px;
  color: var(--vana-blue);
}

.btn-vana {
  background: linear-gradient(160deg, #1a7ab5, var(--vana-blue));
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.5rem 1.4rem;
  font-weight: 600;
  transition: all 0.35s;
  box-shadow: 0 4px 12px rgba(0,103,165,0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-vana:hover {
  background: linear-gradient(160deg, var(--vana-blue), var(--vana-blue-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,78,126,0.3);
  color: #fff;
}

.btn-vana-outline {
  background: transparent;
  border: 1.5px solid var(--vana-blue);
  color: var(--vana-blue-dark);
  border-radius: 14px;
  padding: 0.5rem 1.4rem;
  font-weight: 600;
  transition: all 0.35s;
  text-decoration: none;
  display: inline-block;
}

.btn-vana-outline:hover {
  background: var(--vana-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,103,165,0.2);
  transform: translateY(-2px);
}

.btn-vana-admin {
  background: linear-gradient(160deg, #6b7c8a, #4e5a6e);
  box-shadow: 0 4px 12px rgba(78,90,110,0.2);
}

.mobile-header { display: none; }

.main-footer {
  background: linear-gradient(175deg, #2e353a 0%, #252b30 100%);
  color: #b7c1c4;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0067A5, #1a7ab5, #c9a94e, #1a7ab5, #0067A5);
  background-size: 200% 100%;
  animation: footer-strip-shine 4s linear infinite;
}

@keyframes footer-strip-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.main-footer::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(26,122,181,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.footer-decoration {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,169,78,0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.main-footer .container { position: relative; z-index: 1; }

.main-footer h5 {
  color: #dfe5e8;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-footer h5::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(223,229,232,0.1);
}

.main-footer a {
  color: #b7c1c4;
  transition: all 0.25s;
  text-decoration: none;
  font-size: 0.88rem;
}

.main-footer a:hover {
  color: #fff;
  padding-right: 4px;
}

.footer-leaf {
  color: var(--vana-blue);
  font-size: 1.2rem;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b7c1c4;
  font-size: 1.1rem;
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-social-link:hover {
  background: var(--vana-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,103,165,0.3);
  border-color: transparent;
}

.enamad-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.enamad-wrapper img {
  border-radius: 8px;
  transition: transform 0.3s;
}

.enamad-text {
  font-size: 0.75rem;
  color: #8a959b;
  line-height: 1.7;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(26,122,181,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vana-blue-light);
  font-size: 0.9rem;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: #b7c1c4;
  line-height: 1.7;
}

.main-footer hr {
  border-color: rgba(223,229,232,0.1);
  margin: 24px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: #8a959b;
}

.footer-copyright strong {
  color: #cbd1d5;
}

.footer-links-bottom {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links-bottom a {
  font-size: 0.78rem;
  color: #8a959b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-bottom a:hover {
  color: #cbd1d5;
}

@media (max-width: 767.98px) {
  .main-footer { display: none !important; }
}

.mobile-bottom-nav { display: none; }

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-sidebar.open { right: 0; }

.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}

.mobile-sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid rgba(0,103,165,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f7f9;
}

.sidebar-header .sidebar-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--vana-blue-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #dfe6eb;
  color: var(--vana-blue-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.sidebar-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-body .sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--vana-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.sidebar-body .sidebar-nav-link i {
  width: 22px;
  text-align: center;
  color: var(--vana-blue);
  font-size: 1rem;
}

.sidebar-body .sidebar-nav-link:hover {
  background: #f5f7f9;
}

.sidebar-body .sidebar-nav-link.active {
  background: #d4e1e8;
  font-weight: 700;
  color: var(--vana-blue-dark);
}

.sidebar-divider {
  height: 1px;
  background: rgba(0,103,165,0.1);
  margin: 8px 0;
}

.sidebar-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vana-text-muted);
  padding: 8px 14px 4px;
  font-weight: 700;
}

.sidebar-footer-info {
  margin-top: auto;
  padding: 16px;
  background: #f5f7f9;
  border-radius: 14px;
  font-size: 0.8rem;
  color: var(--vana-text-muted);
  line-height: 1.8;
}

@media (max-width: 767.98px) {
  .main-header { display: none !important; }
  .main-footer { display: none !important; }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mobile-header-height);
    background: #fff;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid rgba(0,103,165,0.08);
  }

  .mobile-header .mobile-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--vana-blue-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }

  .mobile-header .mobile-brand i {
    color: var(--vana-blue);
    font-size: 1.1rem;
  }

  .mobile-header .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-header .mobile-header-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: none;
    background: #f5f7f9;
    color: var(--vana-blue-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
  }

  .mobile-header .mobile-header-btn.login-btn {
    background: var(--vana-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0 14px;
    width: auto;
    gap: 4px;
    border-radius: 10px;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,103,165,0.1);
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    padding-bottom: var(--safe-area-bottom);
    z-index: 1020;
  }

  .mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--vana-text-muted);
    transition: all 0.2s;
    min-width: 56px;
    position: relative;
  }

  .mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
    transition: all 0.2s;
  }

  .mobile-bottom-nav .nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
  }

  .mobile-bottom-nav .nav-item.active {
    color: var(--vana-blue);
  }

  .mobile-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 20px;
    height: 3px;
    background: var(--vana-blue);
    border-radius: 0 0 10px 10px;
  }

  .mobile-bottom-nav .nav-item.center-action {
    position: relative;
    top: -16px;
  }

  .mobile-bottom-nav .nav-item.center-action .center-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, #1a7ab5, var(--vana-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 6px 18px rgba(0,103,165,0.4);
  }

  .main-content-wrapper {
    padding-top: 0;
    padding-bottom: calc(var(--mobile-nav-height) + var(--safe-area-bottom) + 20px);
  }
}

@media (min-width: 768px) {
  .mobile-header { display: none !important; }
  .mobile-bottom-nav { display: none !important; }
  .main-content-wrapper { padding-bottom: 0; }
  .main-header { display: block; }
  .main-footer { display: block; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.4s ease forwards; }

.stretched-link::after { z-index: 1; }

.vana-hero {
  background: linear-gradient(180deg, #f5f7f9 0%, #ffffff 100%);
  min-height: 85vh;
}

.vana-hero-bg {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,122,181,0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-title {
  color: #2e353d;
  line-height: 1.3;
  font-weight: 800;
  font-size: 3.2rem;
}

.hero-subtitle {
  color: #4a555b;
  max-width: 480px;
  font-size: 1.15rem;
}

.hero-tree-icon {
  font-size: 11rem;
  color: #1a7ab5;
  opacity: 0.8;
}

.hero-dove-icon {
  font-size: 3rem;
  color: #0067A5;
  transform: translate(-20%, -20%) rotate(-15deg);
}

.hero-water-icon {
  font-size: 2.5rem;
  color: #a3bcc9;
  transform: translate(30%, 30%);
}

.live-donations {
  background: #fff;
  border-top: 1px solid rgba(0,103,165,0.06);
  border-bottom: 1px solid rgba(0,103,165,0.06);
}

.live-donations-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0078c8;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0078c8;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,120,200,0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 0 8px rgba(0,120,200,0); }
}

.donation-slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}

.donation-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.donation-card {
  flex-shrink: 0;
  width: 300px;
  background: #fff;
  border: 1px solid rgba(0,103,165,0.12);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
  opacity: 0.85;
  transform: scale(0.95);
}

.donation-card.active-card {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(0,103,165,0.3);
  box-shadow: 0 6px 20px rgba(0,78,126,0.1);
}

.donation-card .donor-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.donation-card .donor-info {
  flex: 1;
  min-width: 0;
}

.donation-card .donor-name {
  font-weight: 700;
  color: #2e353d;
  font-size: 0.85rem;
}

.donation-card .donor-action {
  font-size: 0.73rem;
  color: #6b7a8a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donation-card .donor-amount {
  font-weight: 700;
  color: #0078c8;
  font-size: 0.88rem;
  white-space: nowrap;
}

.donation-card .donor-time {
  font-size: 0.68rem;
  color: #8a959b;
  white-space: nowrap;
}

.vana-stat-card {
  background: #fff;
  border-radius: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(0,103,165,0.12);
}

.vana-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,103,165,0.1);
}

.stat-label-text {
  color: #6b7a8a;
  font-size: 0.9rem;
}

.vana-project-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.vana-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0,78,126,0.12);
}

.vana-project-card:hover .card-img-wrapper img {
  transform: scale(1.04);
}

.project-desc {
  color: #5a666b;
  font-size: 0.9rem;
}

.project-stats {
  color: #6b7a8a;
}

.section-heading {
  color: #2e353d;
}

.section-subtitle {
  color: #6b7a8a;
  margin-bottom: 0;
}

.section-badge {
  display: inline-block;
  background: rgba(0,103,165,0.1);
  color: #0067A5;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.category-card {
  background: #fff;
  border: 1px solid rgba(0,103,165,0.08);
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,78,126,0.08);
  border-color: rgba(0,103,165,0.2);
}

.category-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,103,165,0.06);
}

.category-img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
}

.category-count-badge {
  display: inline-block;
  background: rgba(0,103,165,0.08);
  color: #0067A5;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card-home {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,103,165,0.08);
  transition: all 0.3s;
  height: 100%;
}

.blog-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,78,126,0.08);
}

.blog-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card-home:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-reading-time {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  color: #004e7e;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.blog-card-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #dfe6eb, #d4e1e8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-info {
  padding: 18px 20px;
}

.blog-cat-badge {
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
}

.blog-excerpt-text {
  color: #5a666b;
  font-size: 0.82rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.blog-read-link {
  color: #1a7ab5;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-read-link:hover {
  color: #004e7e;
}

.about-badge {
  display: inline-block;
  background: rgba(0,103,165,0.1);
  color: #0067A5;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-illustration {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-circle {
  width: 400px;
  height: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-main-image {
  width: 100%;
  height: 100%;
}

@keyframes about-float-main {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-floating {
  z-index: 100;
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: #3a4b5c;
  white-space: nowrap;
}

.about-floating i {
  font-size: 1rem;
}

.about-float-1 { top: 5%; right: 5%; animation: about-float-1 5s ease-in-out infinite; }
.about-float-2 { top: 32%; left: 2%; animation: about-float-2 4.5s ease-in-out infinite; }
.about-float-3 { bottom: 28%; right: 2%; animation: about-float-3 5.5s ease-in-out infinite; }
.about-float-4 { bottom: 5%; left: 8%; animation: about-float-4 4s ease-in-out infinite; }

@keyframes about-float-1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes about-float-2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes about-float-3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes about-float-4 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.how-card { transition: transform 0.25s ease; }
.how-card:hover { transform: translateY(-3px); }

.how-icon-circle { width: 80px; height: 80px; }

.how-card-title { color: #2e353d; }
.how-card-text { color: #5a666b; }

.cta-heading { font-size: 2rem; }
.cta-subtitle { opacity: 0.9; }

.cta-btn-primary { color: #3a4b5c; font-weight: 600; }

.empty-state { background: #f5f7f9; border-radius: 18px; }

.min-vh-75 { min-height: 75vh; }

.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

@media (max-width: 767.98px) {
  .vana-hero {
    min-height: auto;
    padding: 32px 0 40px;
    text-align: center;
  }

  .vana-hero-bg {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
    opacity: 0.6;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.5;
  }

  .hero-title br { display: none; }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-illustration { display: none !important; }

  .vana-hero .d-flex.flex-wrap.gap-3 {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .vana-hero .btn-lg {
    padding: 0.6rem 1.4rem !important;
    font-size: 0.85rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .donation-card {
    width: 260px;
    padding: 12px;
  }

  .donation-slider-track { gap: 10px; }

  .py-6 { padding-top: 2rem; padding-bottom: 2rem; }

  .vana-stat-card {
    border-radius: 18px;
    padding: 1rem !important;
  }

  .vana-stat-card i { font-size: 1.6rem !important; }
  .vana-stat-card h3 { font-size: 1.2rem; }

  .stat-label-text { font-size: 0.75rem; }

  .section-heading { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.9rem; }

  .category-icon-wrap { width: 55px; height: 55px; }
  .blog-card-img-wrap, .blog-card-placeholder { height: 160px; }

  .about-illustration { height: 260px; }
  .about-circle { width: 200px; height: 200px; }

  .about-floating {
    z-index: 100;
    padding: 6px 10px;
    font-size: 0.68rem;
    border-radius: 10px;
  }

  .about-floating i { font-size: 0.8rem; }

  .how-icon-circle { width: 60px !important; height: 60px !important; }
  .how-icon-circle i { font-size: 1.3rem !important; }

  .how-card-title { font-size: 0.95rem; }
  .how-card-text { font-size: 0.8rem; }

  .cta-heading { font-size: 1.3rem; }
  .cta-subtitle { font-size: 0.9rem; }

  .vana-project-card .card-img-wrapper, .vana-project-card .card-img-placeholder { height: 160px !important; }
  .project-desc { font-size: 0.8rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .vana-hero { min-height: 60vh; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-tree-icon { font-size: 8rem; }
  .hero-dove-icon { font-size: 2.2rem; }
  .hero-water-icon { font-size: 1.8rem; }

  .about-illustration { height: 320px; }
  .about-circle { width: 250px; height: 250px; }

  .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
  .section-heading { font-size: 1.6rem; }
}

.value-item { transition: all 0.25s ease; }
.value-item:hover { background: #f2f5f7 !important; border-right-color: #0067A5 !important; }

.btn-vana {
  background: linear-gradient(160deg, #1a7ab5, #0067A5);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.35s;
  box-shadow: 0 4px 12px rgba(0,103,165,0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-vana:hover {
  background: #0067A5;
  color: #fff;
  transform: translateY(-2px);
}

.btn-vana-outline {
  background: transparent;
  border: 1.5px solid #0067A5;
  color: #004e7e;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.35s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-vana-outline:hover {
  background: #0067A5;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,103,165,0.2);
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .card-body { padding: 1.25rem !important; }
  h4 { font-size: 1.1rem !important; }
}

input:focus, textarea:focus, select:focus {
  border-color: #1a7ab5 !important;
  box-shadow: 0 0 0 0.12rem rgba(26, 122, 181, 0.2) !important;
  outline: none;
}

#submitBtn:hover {
  background: #0067A5 !important;
  box-shadow: 0 8px 24px rgba(0, 78, 126, 0.4) !important;
  transform: translateY(-2px);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 10px;
  background: #dfe6eb;
  color: #004e7e;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s;
}

.social-btn:hover {
  background: #1a7ab5;
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #f7f9fb;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  color: #3a4b5c;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: right;
  font-family: 'Vazirmatn FD NL', sans-serif;
}

.faq-question i {
  font-size: 0.65rem;
  color: #8a959b;
  transition: transform 0.3s;
}

.faq-question:not(.collapsed) i {
  transform: rotate(180deg);
  color: #1a7ab5;
}

.faq-question:not(.collapsed) { color: #004e7e; }

.faq-answer {
  padding: 0 16px 14px;
  color: #5a666b;
  font-size: 0.84rem;
  line-height: 1.9;
}

@media (max-width: 767.98px) {
  .card-body { padding: 1.25rem !important; }
}

.pwa-install-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #2e353d 0%, #3a454c 40%, #004e7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pwa-install-page::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(26,122,181,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.pwa-install-page::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,169,78,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.pwa-install-container {
  max-width: 400px;
  width: 100%;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.pwa-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.pwa-logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.15);
  margin: 0 auto;
  animation: logo-float 3s ease-in-out infinite;
}

.pwa-logo-circle i { font-size: 2.4rem; color: #b7c8cf; }

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.sparkle {
  position: absolute;
  animation: sparkle-float 2.5s ease-in-out infinite;
}

.s-1 { top: -8px; right: -16px; color: #1a7ab5; font-size: 0.9rem; animation-delay: 0s; }
.s-2 { bottom: -6px; left: -14px; color: #c9a94e; font-size: 0.7rem; animation-delay: 0.8s; }
.s-3 { top: 50%; right: -20px; color: #b7c8cf; font-size: 0.75rem; animation-delay: 1.6s; }

@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-8px) scale(1.2); opacity: 1; }
}

.pwa-title {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff !important;
  letter-spacing: -0.3px;
}

.pwa-subtitle {
  color: #8fa5b0;
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.pwa-install-btn {
  display: none;
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #004e7e;
  border: none;
  border-radius: 16px;
  font-family: 'Vazirmatn FD NL', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: all 0.3s;
  margin-bottom: 20px;
}

.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  background: #f0f5f7;
}

.pwa-status-box {
  display: none;
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  text-align: right;
}

.pwa-status-success {
  background: rgba(0,120,200,0.15);
  border: 1px solid rgba(0,120,200,0.25);
}

.pwa-status-icon {
  font-size: 1.5rem;
  color: #0078c8;
  margin-bottom: 6px;
}

.pwa-status-success p { color: #a3bcc9; margin: 0; font-size: 0.9rem; }

.pwa-guide-box {
  display: none;
  padding: 18px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: right;
}

.pwa-guide-box h6 {
  font-weight: 700;
  color: #cbd6dc;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pwa-guide-box ol {
  padding-right: 20px;
  line-height: 2.2;
  font-size: 0.85rem;
  color: #8fa5b0;
  margin: 0;
}

.pwa-guide-box ol li { margin-bottom: 4px; }
.pwa-guide-box ol li strong { color: #cbd6dc; }

.pwa-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  color: #cbd6dc;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.25s;
}

.pwa-back-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.pwa-footer-text {
  margin-top: 24px;
  font-size: 0.8rem;
  color: #6b7a8a;
}

.pwa-footer-text i { color: #1a7ab5; }

@media (max-width: 575.98px) {
  .pwa-title { font-size: 1.4rem; }
  .pwa-logo-circle { width: 72px; height: 72px; border-radius: 20px; }
  .pwa-logo-circle i { font-size: 1.8rem; }
}

.rules-hero {
  background: linear-gradient(170deg, #f2f5f7 0%, #e8edf1 100%);
  position: relative;
}

.rules-hero-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,122,181,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.rules-icon-wrap { display: flex; justify-content: center; }

.rules-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dfe6eb, #c8d5dc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0067A5;
  box-shadow: 0 8px 24px rgba(0,103,165,0.15);
}

.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

.rule-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,103,165,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.rule-card:hover {
  transform: translateX(-4px);
  border-color: rgba(0,103,165,0.2);
  box-shadow: 0 8px 24px rgba(0,78,126,0.06);
}

.rule-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1a7ab5, #0067A5);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-body { flex: 1; }

.rule-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2e353d;
  margin: 0 0 10px;
}

.rule-body p {
  color: #4a555b;
  line-height: 1.9;
  margin: 0;
  font-size: 0.92rem;
}

.rule-body ul {
  padding-right: 18px;
  margin: 0;
}

.rule-body ul li {
  color: #4a555b;
  line-height: 1.9;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.rule-body ul li::marker { color: #1a7ab5; }

.update-badge {
  display: inline-block;
  background: rgba(0,103,165,0.08);
  color: #0067A5;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0,103,165,0.15);
}

@media (max-width: 767.98px) {
  .rules-hero h1 { font-size: 1.6rem; }
  .rules-icon-circle { width: 60px; height: 60px; font-size: 1.4rem; }
  .py-6 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .rule-card { flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: 14px; }
  .rule-number { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; border-radius: 10px; }
  .rule-body h3 { font-size: 1rem; }
  .rule-body p, .rule-body ul li { font-size: 0.85rem; }
}

.search-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  background: rgba(0,103,165,0.08);
  color: #0067A5;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-toggle-btn:hover { background: rgba(0,103,165,0.15); }
.search-toggle-btn.active { background: #1a7ab5; color: #fff; }

.search-box { animation: fadeDown 0.25s ease; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s;
  cursor: pointer;
  border: 1.5px solid rgba(0,103,165,0.12);
  color: #6b7a8a;
  background: #fcfdfe;
}

.filter-chip:hover {
  background: #f5f7f9;
  border-color: rgba(0,103,165,0.25);
  color: #004e7e;
}

.filter-chip.active {
  background: var(--chip-color, #1a7ab5);
  border-color: var(--chip-color, #1a7ab5);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,103,165,0.2);
}

.filter-dropdown {
  border: 1px solid rgba(0,103,165,0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 0.4rem 0;
  min-width: 200px;
}

.filter-dropdown .dropdown-item {
  font-size: 0.84rem;
  padding: 0.5rem 1rem;
  color: #3a4b5c;
}

.filter-dropdown .dropdown-item:hover { background: #f5f7f9; }
.filter-dropdown .dropdown-item.active { background: #d4e1e8; color: #004e7e; font-weight: 600; }

.project-card {
  transition: all 0.35s ease;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,103,165,0.06);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,78,126,0.1) !important;
}

.project-card:hover .card-img-top { transform: scale(1.04); }

.project-list-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,103,165,0.06);
}

.project-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,78,126,0.08) !important;
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

.btn-vana {
  background: linear-gradient(160deg, #1a7ab5, #0067A5);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0,103,165,0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-vana:hover {
  background: #0067A5;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .mobile-create-btn {
    position: fixed;
    bottom: 80px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #1a7ab5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(0,103,165,0.4);
    z-index: 100;
    transition: all 0.3s;
  }
  .mobile-create-btn:hover {
    background: #0067A5;
    color: #fff;
    transform: scale(1.05);
  }
}