
/* Global Styles */
:root {
  /* =========================
     Colors
  ========================== */

  --color-bg: #ffffff;
  --color-background: #0f172a;

  --color-surface: #f7faf9;
  --color-surface-green: #7dffd4;

  --color-text: #0f172a;
  --color-muted: #64748b;

  --color-primary: #16a34a;
  --color-primary-hover: #15803d;
  --color-primary-gray: linear-gradient(45deg, #014d1e, #15d700);

  --color-secondary: #2563eb;
  --color-accent: #0061ff;

  --color-border: #e5e7eb;

  /* =========================
     Layout
  ========================== */

  --container-max: 1120px;

  --radius: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* =========================
     Typography
  ========================== */

  --font-sans: ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial;

  --size-sm: 14px;
  --size-md: 16px;
  --size-lg: 20px;
  --size-xl: 32px;
  --size-xxl: 44px;

  /* =========================
     Spacing
  ========================== */

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
}












*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--size-md);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Trust bar */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--size-sm);
}
.trust-msg { display: inline-block; padding: var(--space-2) 0; color: var(--color-muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}
.logo img { height: 50px; }

.nav { position: relative; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle.is-active{
  position: sticky;
  z-index: 1000;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  display: block;
  margin: 4px 0;
  transition: all 0.3s ease;
}



.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--space-4);
}
.nav-list a { text-decoration: none; color: var(--color-text); }
.nav-list a:hover { color: var(--color-primary); }

.header-actions { display: flex; gap: var(--space-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1px solid transparent;
  font-weight: 600; cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-ghost {
  background: var(--color-accent); 
  border-color: var(--color-border); 
  color: var(--color-bg);
  transition: all .5s .5s ease;
}
.btn-ghost:hover { 
    background: var(--color-secondary);
    color: white;
    
    
}

/* Hero */
.hero {
  padding: var(--space-7) 0 var(--space-6);
  background: linear-gradient(180deg, #f7faf9 0%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}
.hero h1 {
  font-size: var(--size-xxl);
  line-height: 1.1;
  margin: 0 0 var(--space-3);
}
.hero-sub { color: var(--color-muted); margin: 0 0 var(--space-4); }

.search-form {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.search-input {
  padding: 12px 14px; border: 1px solid var(--color-border);
  border-radius: 999px;
}

.hero-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.tag {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: var(--size-sm);
  text-decoration: none;
}
.tag:hover { border-color: var(--color-text); }

.hero-image {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: var(--space-4);
}
.hero-illustration {
  width: 100%; aspect-ratio: 16/10; border-radius: var(--radius);
  background:
    radial-gradient(120px 120px at 20% 30%, #e9f7ef 0%, transparent 70%),
    radial-gradient(160px 160px at 80% 60%, #e9f7ef 0%, transparent 70%),
    linear-gradient(180deg, #ffffff, #f4fbf7);
  border: 1px solid var(--color-border);
}

/* Section heading */
.section-heading {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: var(--space-3);
}
.section-heading h2 { margin: 0; }
.link {
  color: var(--color-accent); text-decoration: none; font-weight: 600;
}
.link:hover { text-decoration: underline; }


.autocomplete-suggestions {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 100;
  display: none;
  padding: 1rem;
}

.autocomplete-suggestion {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-suggestion:hover {
  background: var(--color-surface);
}






/* Featured cards */
.featured { padding: var(--space-6) 0; }
.card-grid {
  display: flex; 
  flex-wrap: wrap;
  gap: var(--space-4);
  width: 100%;
  justify-content: center;
  
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  width: 260px;
}
.card-media { 
  aspect-ratio: 16/9; 
  background: var(--color-surface); 
  object-fit: cover;

}
.card-media img {
  width: 100%; height: 250px; object-fit: cover;
}
.card-body { 
  padding: var(--space-3); 
  display: grid; 
  gap: var(--space-2); 
  flex-grow: 1;
}
.card-title {
  margin: 0; 
  font-weight: 700; 
  font-size: var(--size-lg);
}
.card-meta { color: var(--color-muted); font-size: var(--size-sm); }
.card-actions { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.progress {
  width: 100%; height: 8px; border-radius: 999px; background: var(--color-border);
  overflow: hidden;
}
.progress > span { display: block; height: 100%; background: var(--color-primary); width: 0%; }

/* How it works */
/* =========================
   How It Works Section
========================= */
.how-it-works {
  background: #fff;
  padding: 3rem 0;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.how-item {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.how-item:hover {
  transform: translateY(-5px);
}

.how-item .step {
  display: inline-block;
  font-weight: bold;
  color: #0a8f3f;
  background: #e6f5eb;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* =========================
   Category Explorer
========================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.category-card {
  display: block;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  color: #0a8f3f;
  transition: all 0.2s ease;
}

.category-card:hover {
  background: #0a8f3f;
  color: #fff;
}

/* =========================
   Platform Stats
========================= */
.platform-stats {
  background: var(--color-secondary);
  color: var(--color-bg) ;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  text-align: center;
  gap: 2rem;
}

.stats-grid h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

/* =========================
   Testimonials
========================= */
.testimonials {
  background: #fff;
  padding: 4rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-grid blockquote {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  font-style: italic;
  position: relative;
}

.testimonial-grid blockquote span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #0a8f3f;
}

/* =========================
   Safety / Trust Section
========================= */
.safety, .trust {
  background: #f9fafb;
  padding: 4rem 0;
  text-align: center;
}

.safety h2, .trust h3 {
  margin-bottom: 1rem;
}




.how-it-works { padding: var(--space-6) 0; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.step {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: var(--space-4);
  box-shadow: var(--shadow-sm); text-align: center;
}
.step-icon {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--color-primary); color: #fff; display: grid; place-items: center;
  font-weight: 700; margin: 0 auto var(--space-2);
}
.how-it-works {
  background: var(--color-surface);
  padding: var(--space-7) 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: var(--size-xl);
  margin-bottom: var(--space-6);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-bottom: 1rem;
}

.how-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.how-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.how-card h3 {
  margin-bottom: var(--space-2);
}


/* categories */
.categories {
  padding: var(--space-7) 0;
}

.categories h2 {
  text-align: center;
  font-size: var(--size-xl);
  margin-bottom: var(--space-6);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}



/* Resource preview */
.resources-preview {
  background: var(--color-primary-gray);
  padding: var(--space-7) 0;
}

.resources-preview h2 {
  text-align: center;
  font-size: var(--size-xl);
  margin-bottom: var(--space-6);
  color: var(--color-bg);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.resource-grid article {
  background: var(--color-bg);
  padding: var(--space-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.resource-grid h3 {
  margin-bottom: var(--space-2);
}

.resources-preview .btn {
  display: block;
  width: max-content;
  margin: var(--space-6) auto 0;
  background: var(--color-background);
  transition: all .5s .5s ease;
  color: var(--color-surface-green);
}
.resources-preview .btn:hover{
    scale: 1.1;
}

/* Easy, Powerful & Trusted Section */
.trusted-platform {
  background: var(--color-surface-green);
  padding: var(--space-7) 0;
}

.trusted-platform .trusted-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.trusted-platform h2 {
  font-size: var(--size-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.trusted-sub {
  color: var(--color-muted);
  margin-bottom: var(--space-6);
  font-size: var(--size-md);
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.trusted-item {
  background: #fff;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.trusted-item h3 {
  margin-bottom: var(--space-2);
  font-weight: 700;
  font-size: var(--size-lg);
}

.trusted-item p {
  color: var(--color-text);
  font-size: var(--size-md);
}

/* Responsive */
@media (max-width: 768px) {
  .trusted-grid {
    grid-template-columns: 1fr;
  }
}





/* Trust */
.trust { padding: var(--space-6) 0; background: var(--color-surface); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
.trust-item {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: var(--space-4);
}

/* Stories */
.stories { padding: var(--space-6) 0; }
.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
.story {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow-sm);
}
.story img {
  width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
} 


.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}











/* Full-width story page grid */
.story-fullwidth-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Main story */
.story-main {
  width: 100%;
}

/* Sticky Sidebar */
.story-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Widgets */
.widget {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap:.4rem ;

}

.widget h3 {
  font-size: 1.2rem;
  color: var(--color-text);
}

.widget-div a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.widget-div a:hover {
  text-decoration: underline;
}

.widget-div div a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
} 
.widget-div img {
  max-width: 100px;
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}
/* Author Widget */
.author-widget img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.author-widget .social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.author-widget .social-links a {
  color: var(--color-muted);
  font-size: 1rem;
}

.author-widget .social-links a:hover {
  color: var(--color-primary);
}

/* Cards inside sidebar */
.story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.story-card:hover {
  transform: translateX(3px);
}

.story-card-media img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
}

.card-body h4 {
  font-size: 1rem;
  margin: 0;
}

.card-body p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Story hero and content adjustments */
.story-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.story-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.story-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.story-excerpt {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.story-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .story-fullwidth-container {
    grid-template-columns: 1fr;
  }

  .story-sidebar {
    position: relative;
    top: 0;
  }
}








/* author  */

.author-hero-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.author-stories li {
    margin-bottom: 0.5rem;
}

.author-stories a {
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

.author-stories a:hover {
    color: var(--color-primary);
}

.author-stories .story-date {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
}















/* Wallet Section */
.wallet-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}

.wallet-manage-btn {
  margin-bottom: 1rem;
}

/* Wallet List */
.wallet-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

/* Wallet Card */
.wallet-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wallet-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Wallet Content */
.wallet-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wallet-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.wallet-address {
  font-size: 0.85rem;
  font-family: monospace;
  color: #6b7280;
  word-break: break-all;
}

/* Empty State */
.text-muted {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 0.75rem;
}

/* Responsive */
@media (max-width: 576px) {
  .wallet-item {
    padding: 0.75rem;
  }

  .wallet-label {
    font-size: 0.9rem;
  }

  .wallet-address {
    font-size: 0.8rem;
  }
}































/* Resources Page */
.resources {
  padding: 3rem 0;
}

.resource-section {
  margin-bottom: 3rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.resource-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.resource-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.resource-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #111827;
}

.resource-card p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* FAQ */
.faq-item {
  background: #f9fafb;
  border-left: 4px solid #111827;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.faq-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.faq-item p {
  font-size: 0.85rem;
  color: #4b5563;
}

/* CTA */
.resource-cta {
  background: #111827;
  color: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
}

.resource-cta p {
  color: #d1d5db;
  margin: 0.5rem 0 1.2rem;
}















.contact-page {
  max-width: 600px;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 2rem;
}
.contact-form label{
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
  color: #111827;
}
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.alert {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
}






















/* CTA */
.cta { padding: var(--space-6) 0; background: linear-gradient(180deg, #fff 0%, #f7faf9 100%); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-3); }

/* Footer */
.site-footer { padding:1rem; background: #0f172a; color: #e5e7eb; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6); padding: var(--space-6) 0;
}
.footer-logo { height: 28px; margin-bottom: var(--space-2); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list a { color: #e5e7eb; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-text { color: #cbd5e1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) 0;
}
.footer-links { display: flex; gap: var(--space-3); }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }


/* =========================
   Responsive Footer
   ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-list {
    margin-bottom: var(--space-4);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}









/* ============================
   FUNDRAISING TIPS PAGE
============================ */

/* Hero */
.tips-hero {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #ffffff;
  padding: 4rem 0 3.5rem;
}

.tips-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.tips-hero p {
  max-width: 600px;
  font-size: 1rem;
  color: #d1d5db;
}

/* Content */
.tips-content {
  padding: 4rem 0;
  background: #f9fafb;
}

/* Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

/* Tip Card */
.tip-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.2rem 1.6rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* Number Badge */
.tip-number {
  position: absolute;
  top: -14px;
  left: 20px;
  background: #111827;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* Card Text */
.tip-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.tip-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Footer Note */
.tips-footer-note {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 2.5rem 0;
}

.tips-footer-note p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: #374151;
  font-style: italic;
}

/* Responsive */
@media (max-width: 640px) {
  .tips-hero {
    padding: 3rem 0;
  }

  .tips-hero h1 {
    font-size: 1.8rem;
  }

  .tip-card {
    padding: 2rem 1.3rem 1.4rem;
  }
}















/* ============================
   ABOUT US PAGE
============================ */

/* Page Container */
.page-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-family: 'Inter', sans-serif;
  color: #1f2937; /* Dark gray text for readability */
  line-height: 1.7;
}

/* Paragraphs */
.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #4b5563; /* Medium gray for better reading */
}

/* Strong text */
.page-content strong {
  color: #111827; /* Darker for emphasis */
  font-weight: 600;
}

/* Headings */
.page-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #111827;
  border-left: 4px solid #b11226; /* Oxblood accent */
  padding-left: 0.8rem;
}

/* Lists */
.page-content ul,
.page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

/* Ordered List Numbers */
.page-content ol {
  list-style-position: inside;
  padding-left: 0;
}

/* Accessibility & readability */
.page-content a {
  color: #b11226;
  text-decoration: underline;
}

.page-content a:hover {
  color: #7f0d19;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .page-content {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .page-content h2 {
    font-size: 1.4rem;
  }

  .page-content p,
  .page-content li {
    font-size: 0.95rem;
  }
}






/* ============================
   CAREERS PAGE
============================ */

/* Page Container */
.page-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  line-height: 1.7;
}

/* Paragraphs */
.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #4b5563;
}

/* Strong text */
.page-content strong {
  color: #111827;
  font-weight: 600;
}

/* Headings */
.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #111827;
  border-left: 4px solid #b11226; /* Oxblood accent */
  padding-left: 0.8rem;
}

/* Lists */
.page-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.page-content li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Links */
.page-content a {
  color: #b11226;
  text-decoration: underline;
}

.page-content a:hover {
  color: #7f0d19;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .page-content {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .page-content h2 {
    font-size: 1.35rem;
  }

  .page-content p,
  .page-content li {
    font-size: 0.95rem;
  }
}









/* ============================
   TERMS & CONDITIONS PAGE
============================ */

/* Hero Section */
.hero-small {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #ffffff;
  padding: 3rem 0 3rem;
}

.hero-small h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-small p.hero-sub {
  font-size: 1rem;
  color: #d1d5db;
  max-width: 600px;
}

/* Page Content Container */
.page-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  line-height: 1.7;
}

/* Headings for sections */
.page-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #111827;
  border-left: 4px solid #b11226; /* Oxblood accent */
  padding-left: 0.8rem;
}

/* Paragraphs */
.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #4b5563;
}

/* Strong text */
.page-content strong {
  font-weight: 600;
  color: #111827;
}

/* Links */
.page-content a {
  color: #b11226;
  text-decoration: underline;
}

.page-content a:hover {
  color: #7f0d19;
}

/* Lists */
.page-content ul,
.page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.page-content li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-small h1 {
    font-size: 1.7rem;
  }

  .hero-small p.hero-sub {
    font-size: 0.95rem;
  }

  .page-content {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .page-content h2 {
    font-size: 1.35rem;
  }

  .page-content p,
  .page-content li {
    font-size: 0.95rem;
  }
}


























.create-hero {
  background: #e6f4ea;
  padding: 60px 20px;
  text-align: center;
}

.create-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.create-form-section {
  padding: 40px 20px;
}

.create-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 20px;
}

.create-form input,
.create-form select,
.create-form textarea {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

.create-form button {
  width: 100%;
  padding: 14px;
  font-size: 18px;
}
.create-form button.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
}
.create-form button.btn-primary:hover {
  background: var(--color-primary-hover);
}







.auth-container {
  max-width: 400px;
  margin: 60px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.auth-container h2 {
  margin-bottom: 20px;
}

.auth-container input,
.auth-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.auth-container .error {
  color: red;
  margin-bottom: 10px;
}



/* Profile Hero */
.profile-hero {
  background: linear-gradient(180deg, #e6f4ea 0%, #ffffff 100%);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  text-align: center;

}

.profile-hero-inner {
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.profile-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}

/* Fallback avatar */
.avatar-fallback {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}
.profile-hero-text {
  flex: 1;
  margin-left: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.profile-hero-text h1 {
  margin: 0;
  font-size: 32px;
}

.profile-email {
  color: var(--color-muted);
  margin: 6px 0;
}

.profile-subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: var(--color-text);
  font-weight: 600;
}


/* Layout Grid */
.profile-grid, .admin-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  margin-top: 40px
}

/* Sidebar */
.profile-sidebar, .admin-sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.profile-sidebar ul, .admin-sidebar ul {
  list-style: none;
  padding: 0;
}
.profile-sidebar li, .admin-sidebar li {
  margin-bottom: 15px;
}
.profile-sidebar a, .admin-sidebar a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}
.profile-sidebar a.active, .admin-sidebar a.active {
  color: var(--color-primary);
}

/* Fundraiser List */
.profile-fundraiser-list, .admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.profile-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center ;
}






.profile-card, .admin-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.profile-card-img, .admin-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.profile-card-body, .admin-card-body {
  padding: 16px;
}
/* Admin Hero */
.admin-hero {
  background: #e6f4ea;
  padding: 50px 20px;
  text-align: center;
}
.admin-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Admin Layout */
.admin-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  margin-top: 40px;
}

/* Sidebar */
.admin-sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.admin-sidebar ul {
  list-style: none;
  padding: 0;
}
.admin-sidebar li {
  margin-bottom: 15px;
}
.admin-sidebar a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}
.admin-sidebar a.active {
  color: var(--color-primary);
}

/* Stats */
.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.stat-box {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box h3 {
  font-size: 32px;
  margin: 0;
}
.stat-box p {
  color: var(--color-muted);
}

/* Fundraiser Cards */
.admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.admin-card-body {
  padding: 16px;
}

/* Users */
.admin-user-list {
  display: grid;
  gap: 15px;
  margin-bottom: 40px;
}
.admin-user-card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Stories */
.admin-story-list {
  display: grid;
  gap: 20px;
}
.admin-story-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin Table Layout */
.admin-table-container {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.admin-table-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.admin-table th {
  background: #f5f5f5;
  padding: 14px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
}

.admin-table tr:hover {
  background: #fafafa;
}

.btn-danger {
  background: #d9534f;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.btn-danger:hover {
  background: #c9302c;
}

.btn-small {
  padding: 6px 10px;
  font-size: 13px;
}

/* Responsive Table */
@media (max-width: 768px) {
  .admin-table th,
  .admin-table td {
    padding: 10px;
    font-size: 14px;
  }
}


.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.admin-quick-links a {
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
}

.admin-quick-links a:hover {
  background: #f5f5f5;
}



.crypto-container {
  max-width: 420px;
  margin: 40px auto;
  background: #0d1117;
  padding: 30px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.crypto-container h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.crypto-subtitle {
  margin-bottom: 20px;
  color: #9ca3af;
}

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #d1d5db;
}

select, input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 10px;
  background: #1f2937;
  color: #fff;
}

.wallet-box {
  display: flex;
  gap: 10px;
}

.wallet-box input {
  flex: 1;
}

.wallet-box button {
  background: #2563eb;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.qr-section {
  text-align: center;
  margin: 20px 0;
}

.qr-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
}

.crypto-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  font-size: 16px;
}









/* Dashboard Tabs */
.profile-tabs {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  margin-top: 20px;
}

.profile-tabs .tab {
  padding: 14px 20px;
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  margin-right: 10px;
}

.profile-tabs .tab.active {
  border-bottom: 3px solid var(--color-primary);
  color: var(--color-primary);
}

/* Donations */
.donation-list {
  display: grid;
  gap: 15px;
}

.donation-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Stories */
.story-list {
  display: grid;
  gap: 20px;
}

.story-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Settings */
.settings-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}



















.edit-avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 10px auto;
  display: block;
}

.profile-edit-btn {
  margin-top: 15px;
  display: inline-block;
}

















/* Stats */
.admin-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.stat-box {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box h3 {
  font-size: 32px;
  margin: 0;
}
.stat-box p {
  color: var(--color-muted);
}





.fundraiser-page {
  padding: var(--space-6) 0;
}
.fundraiser-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-4);
}
.fundraiser-main h2 {
  margin-top: var(--space-4);
}
.fundraiser-image {
  width: 500px;
  height: auto;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}
.fundraiser-title {
  margin: 0 0 var(--space-1);
  font-size: var(--size-xl);
}
.fundraiser-meta, .fundraiser-creator {
  color: var(--color-muted);
  margin: 0 0 var(--space-2);
}
.fundraiser-description {
  background: #fff;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.fundraiser-sidebar {
  display: grid;
  gap: var(--space-3);
}
.fundraiser-card {
  background: #fff;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.fundraiser-stats {
  margin: var(--space-2) 0 0;
  font-weight: 600;
}
.fundraiser-percent {
  color: var(--color-muted);
  margin: 0 0 var(--space-3);
}
.sidebar-donate-btn {
  width: 100%;
  justify-content: center;
}

.fundraiser-donations {
  background: #fff;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.fundraiser-donations h3 {
  margin-top: 0;
}
.fundraiser-donations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fundraiser-donations li {
  display: flex;
  justify-content: space-between;
  font-size: var(--size-sm);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}
.fundraiser-donations li:last-child {
  border-bottom: none;
}

/* Fundraiser detail responsive */
@media (max-width: 768px) {
  .fundraiser-grid {
    grid-template-columns: 1fr;
  }
  .fundraiser-image{
    width: 100%;
  }
}












/* Responsive */
@media (max-width: 1024px) {
  /* .card-grid { grid-template-columns: repeat(3, 1fr); } */
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-grid { 
    flex-wrap: wrap;
    padding: 1rem;
   }
  .nav-toggle { display: inline-block; }
  .nav-list {
    position: fixed; top: 0; left: -100%;
    width: 75%; height: 100%;
    background: #fff; border-left: 1px solid var(--color-border);
    border-top: none; padding: var(--space-5); margin: 0;
    display: flex; flex-direction: column; gap: var(--space-3);
    box-shadow: var(--shadow-md);
    transition: left 0.3s ease;
  }
  .nav-list.is-open { left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  /* .card-grid { grid-template-columns: repeat(2, 1fr); } */
  .cta-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }




  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
  }

  .profile-content {
    order: 1;
  }
 

@media (max-width: 768px) {
  .profile-sidebar {
    padding: 15px;
  }
}




}
@media (max-width: 480px) {
  /* .card-grid { grid-template-columns: 1fr; } */
  .hero h1 { font-size: var(--size-xl); }
  .story-grid { grid-template-columns: repeat(1, 1fr); }

}
