* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
  --text-xxs: 0.7rem;
  --text-xs: 0.8rem;
  --text-sm: 0.95rem;
  --text-md: 1.1rem;
  --text-lg: 1.4rem;
  --text-xl: 1.9rem;
  --text-2xl: 2.2rem;
  --text-3xl: 3rem;
  --text-base: 1.1rem;

  --lh-tight: 1.2;
  --lh-normal: 1.6;

  /*spacing scale*/
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 80px;

    /* BRAND */
  --color-primary: #e63946;
  --color-primary-hover: #d62839;
  --color-primary-soft: rgba(230, 57, 70, 0.1);

  /* TEXT */
  --color-text-main: #1a1a1a;
  --color-text-muted: #555;
  --color-text-light: #888;

  /* BACKGROUNDS */
  --color-bg-main: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-bg-soft: #fafafa;

  /* BORDERS */
  --color-border: #e5e5e5;

  /* SHADOW */
  --shadow-soft: 0 8px 20px rgba(0,0,0,0.06);
}

body {
    font-family: system-ui, sans-serif;
    font-size: var(--text-sm);
    line-height: var(--lh-normal);
}



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

section {
    padding: var(--space-2xl) 0;    
}

section > .container > * + * {
    margin-top: var(--space-md);
}

section:nth-of-type(even) {
    background-color: var(--color-bg-alt);
}

img {
    max-width: 100%;
    display: block;
}

h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: var(--text-xl);
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

li {
  font-size: var(--text-sm);
    line-height: var(--lh-normal);
}

/*grids*/

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/*nav*/

.site-header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.navbar img {
    height: 52px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: var(--text-sm);
    font-weight: 500;

}

.nav-links a:hover {
    text-decoration: none;
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    font-size: 1.1rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* Desktop */
.mobile-only {
    display: none;
    padding: 0.5rem 1rem;
    font-size: var(--space-lg);
    animation: none;
}

.donate-desktop {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
}

.donate-desktop:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .donate-desktop {
        display: none;
    }
}

/*_HOME PAGEhero*/

.hero {
    text-align: center;
    padding: 80px 0;
    min-height: 60vh;
}

.hero .container {
    max-width: 1000px;
}

main {
    padding-inline: clamp(24px, 5vw, 64px);
}
h1 {
    font-size: var(--text-3xl);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.hero img {
    width: 100%;
    margin-bottom: 1.3rem;
    animation: fadeInUp 1.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: var(--text-md);
    margin: 0 auto var(--space-md);
    color: black;
    max-width: 600px;
    word-break: break-word;
}

.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    font-size: var(--text-md);
    text-decoration: none;
    transition: background 0.2s ease;

}

.btn-primary {
    background: var(--color-primary);
    color: white;
    transition: all 0.2s ease;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
    animation: pulse 3s infinite;
    font-size: var(--text-md);
    font-weight: 600;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25); }
  50% { box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35); }
  100% { box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25); }
}

.btn-primary:hover {
    background: var(--color-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

@media (hover: none) {
  .btn-primary:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
  }
}


.support-donate-btn {
    padding: 1rem 1.8rem;
}

.hero-progress {
    margin: var(--space-sm);
}
.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 14px;
    background: #e3e6ea;
    border-radius: 6px;
    margin: var(--space-sm) auto;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.3);
}

.progress-fill {
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,
            #ff2d2d,
            #ff6b00,
            #ffd166,
            #ff6b00,
            #ff2d2d)
            ;
    background-size: 200% 100%;
    border-radius: 999px;
    animation: none;
}

@keyframes flow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent);

    animation: sweep 2.8s infinite;
}

@keyframes sweep {
    to {
        left: 120%;
    }
}

.hero .transition-line {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-xs);
    letter-spacing: 0.2px;
}

/*donation*/

/*impact*/

.impact-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none; 
    padding: 0;
}

.impact-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.impact-icon {
    width: 40px;
}

.impact .impact-stat {
    font-size: var(--text-xl);
    font-weight: 700;
    color:#e63946;
}

.impact-label {
    color: var(--color-text-muted);
}

/*initiatives*/

.initiative-card {
    background: white;
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    justify-content: center;
    text-align: center;
}

.initiative-card h3 {
    margin-top: 4px;
}
.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.initiative-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.initiatives .impact-stat {
    display: block;
    font-weight: 600;
    margin: 10px 0;
    color: #e63946;
}

.card-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #e63946;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
}

.initiatives h2 {
    text-align: center;
    margin-bottom: 10px;
}

.initiatives-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #555;
    font-size: var(--text-md);
}

/*about*/
.about-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.about-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}

.about-btn:hover {
    background: #f0f0f0;
    border-color: #dcdcdc;
}

.about-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* PANEL */
.about-panel {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* TEXT */
h3 {
  font-size: var(--text-lg);
}

p {
    font-size: var(--text-sm);
}

.about-content p {
  margin-bottom: 1.1rem;
}

#about-text > *:last-child {
    margin-bottom: 24px;
} 

/* MOBILE */
@media (max-width: 768px) {
html {
    font-size: 90%;
}

  .about-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 12px;
  }

  .section {
    padding: var(--space-xl) 0;
  }

.grid {
    gap: var(--space-md);
}
  .hero img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
  }

   .hero h1 {
    margin-bottom:  16px;
  }

  .hero h2 {
    font-size: var(--text-xl);
    margin-top: 16px;
    margin-bottom: 12px;
  }

  .impact-list {
    gap: 20px;
    flex-wrap: wrap;
  }

  .about-panel {
    padding: 24px;
    border-radius: 16px;
  }

  .about-content {
    font-size: 1.3rem;
  }
    .about-tabs {
    justify-content: flex-start; /* 👈 left align feels better on mobile */
    overflow-x: auto;            /* 👈 allow scroll instead of wrapping */
    padding-bottom: 4px;
  }

  .about-tabs::-webkit-scrollbar {
    display: none; /* clean look */
  }

  .about-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    white-space: nowrap; /* 👈 prevents ugly wrapping */
  }
}


/*__==============__MEET THE TEAM__=====================================================*/

.leader {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-main);
}

.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}


/* IMAGE */
.leader-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* TEXT */
.leader-content h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.leader-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* QUOTE */
.leader-content blockquote {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: var(--lh-tight);
}

/* BODY TEXT */
.leader-content p {
  color: var(--color-text-main);
  margin-bottom: var(--space-sm);
}

/* FINAL LINE */
.leader-closing {
  font-weight: 600;
}

@media (max-width: 768px) {
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .leader-image img {
    max-width: 350px;
    margin: 0 auto;
  }

  .leader-content {
    text-align: center;
  }

  .leader-content blockquote {
    font-size: var(--text-md);
  }
}

.team {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
  text-align: center;
    border-top: 1px solid var(--color-border);

}

/* INTRO */
.team-intro {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
}

/* IMAGE */
.team-photo img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-soft);
}

/* MEMBERS */
.team-members {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.team-member h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
}

.team-member p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .team-members {
    flex-direction: column;
    gap: var(--space-md);
  }
}

.documents {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-main);
  text-align: center;
}

.documents-intro {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
}

/* CARD */
.document-card {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-md);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* IMAGE */
.document-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: var(--space-sm);
}

/* CAPTION */
.document-caption {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.timeline {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}

.timeline-intro {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  color: var(--color-text-muted);
}

/* LINE */
.timeline-line {
  position: relative;
  margin: 0 auto;
  max-width: 700px;
  padding-left: 20px;
}

.timeline-line::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--color-border);
}

/* ITEM */
.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-lg);
}

/* DOT */
.timeline-dot {
  position: absolute;
  left: -2px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* CONTENT */
.timeline-content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

/* IMAGES */
.timeline-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-soft);
}

/* QUOTES */
.timeline-content blockquote {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-muted);
}

/* CTA */
.timeline-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

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

/*_______________learn-more-education page*_____________*/


.learn-hero {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 20px;
}

.learn-section {
  margin-bottom: var(--space-xl);
}

.grid-2.align-center {

  align-items: center;
}

.learn-section ul {
  padding-left: 1.5rem;
  margin: var(--space-xs) 0 var(--space-sm);
}

.learn-section li {
  margin-bottom: 0.35rem;
}


.main-img {
  width: 100%;
  border-radius: 12px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.project-card {
  padding: 20px;
  border-radius: 12px;
  background: var(--color-bg-soft);
}

.gallery {
  display: flex;
  gap: 20px;
  margin-top: var(--space-lg);
}

.gallery-main {
  flex: 3;
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-main img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.gallery-main p {
  margin-top: 10px;
  font-size: 0.9rem;
}

.gallery-thumbs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.gallery-thumbs img {
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  opacity: 0.7;
  transition: 0.3s;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery-thumbs img:hover {
  opacity: 1;
}

.cta-center {
  text-align: center;
  margin-top: 30px;
}


/*____________________LEARN MORE EMPOWER HER__________________*/


.image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

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

.highlight-box {
  background: var(--color-bg-alt);
  padding: 30px;
  border-radius: 12px;
}


/* MOBILE */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .gallery {
    flex-direction: column;
  }

  .gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
  }

  .gallery-thumbs img {
    width: 80px;
  }
}


/*footer*/

.site-footer {
  padding: 24px 0;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #666;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #333;
  transition: color 0.2s ease;
}

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



/* MOBILE NAV */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;

    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 20px 0;

    display: none; /* hidden by default */

    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-main);
  }

  .mobile-donate {
    background: #e63946;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
  }

}