/* style.css - Tukolerewamu Children's Foundation
   Complete unified styles for all pages
   Enhanced hover effects & footer visibility
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: #1a2c3e;
  background-color: #fff;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

/* ===== Color Variables ===== */
:root {
  --primary: #0A2647;
  --primary-dark: #051a33;
  --accent: #E76F51;
  --accent-light: #F4A261;
  --bg-light: #FDF8F5;
  --bg-accent: #FFF3E9;
  --text-dark: #1E2A38;
  --text-muted: #4a5b6e;
  --white: #ffffff;
  --shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
  --shadow-hover: 0 25px 40px -12px rgba(0,0,0,0.15);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

/* ===== Utility Classes ===== */
.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-accent { background: linear-gradient(135deg, #FFF3E9 0%, #FFE8DD 100%); }
.bg-dark { background-color: var(--primary); color: white; }
.bg-dark h2, .bg-dark p { color: white; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ===== Buttons & Links ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 18px rgba(231,111,81,0.3);
}
.btn-primary:hover {
  background: #d45a3c;
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline:hover {
  background: white;
  color: var(--accent);
  transform: scale(1.02);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline-light:hover {
  background: var(--accent);
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
  transition: gap 0.2s;
}
.link-arrow:hover {
  gap: 0.8rem;
  text-decoration: underline;
}

/* ===== Header & Navigation ===== */
.site-header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.7rem 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 95px;
  height: 85px;
  border-radius: 0%;
  object-fit: cover;
  
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s;
}
.logo a:hover {
  color: var(--accent);
}

.logo span {
  font-weight: 500;
  color: var(--text-muted);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.navbar a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.navbar a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
}
.hamburger:hover {
  color: var(--accent);
}

/* ===== Hero Sections ===== */
.hero {
  background: 
              url('img/background.JPG');
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 750px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: white;
}

.trust-badge {
  margin-top: 2rem;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  backdrop-filter: blur(4px);
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3a5a 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 0.5rem; }
.page-hero p { font-size: 1.2rem; opacity: 0.9; }

/* ===== Transparency Bar ===== */
.transparency-bar {
  background: var(--accent);
  color: white;
  padding: 0.8rem 0;
  font-weight: 600;
}
.transparency-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}
.transparency-grid i { margin-right: 8px; }

/* ===== Cards & Grids ===== */
.vm-grid, .goals-grid, .values-grid, .roadmap-grid,
.process-grid, .stories-grid, .team-grid, .involve-grid,
.contact-grid, .faq-grid, .give-grid, .cta-options {
  display: grid;
  gap: 2rem;
}
.vm-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.goals-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.values-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.roadmap-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.process-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stories-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.involve-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.faq-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.give-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cta-options { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card, .goal-item, .value-card, .roadmap-card, .process-step,
.involve-card, .story-card, .team-card, .faq-item, .give-card,
.cta-option {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  text-align: center;
}
.card:hover, .goal-item:hover, .value-card:hover,
.roadmap-card:hover, .story-card:hover, .team-card:hover,
.give-card:hover, .involve-card:hover, .process-step:hover,
.cta-option:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card i, .goal-item i, .value-card i, .roadmap-card i,
.process-step i, .involve-card i, .give-card i, .cta-option i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ===== Process Steps ===== */
.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-weight: bold;
  transition: transform 0.2s;
}
.process-step:hover .step-number {
  transform: scale(1.1);
}

/* ===== Impact Section ===== */
.impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.stats-row {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.stat strong {
  font-size: 2rem;
  display: block;
  color: var(--accent);
}
.extra-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.extra-stats i { color: var(--accent); margin-right: 0.3rem; }
.tag {
  background: var(--accent-light);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}
.image-caption {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

/* ===== Founder Story ===== */
.founder-story {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  background: #fff9f0;
  border-radius: 2rem;
  padding: 2rem;
  margin: 2rem 0;
  align-items: center;
}
.founder-image {
  flex: 1;
  min-width: 200px;
  border-radius: 1.5rem;
  overflow: hidden;
}
.founder-text { flex: 2; }
.signature {
  font-family: cursive;
  margin-top: 1rem;
  font-style: italic;
  color: var(--accent);
}

/* ===== Timeline ===== */
.timeline-section { margin: 3rem 0; }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-light);
  padding: 1.2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--accent);
  flex-wrap: wrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}
.year {
  font-weight: 800;
  background: var(--accent);
  color: white;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  display: inline-block;
  min-width: 80px;
  text-align: center;
}

/* ===== Team Cards ===== */
.team-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent);
  transition: transform 0.2s;
}
.team-card:hover img {
  transform: scale(1.05);
}
.team-bio {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
}

/* ===== Story Cards ===== */
.story-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}
.story-card:hover img {
  transform: scale(1.02);
}
.story-card h4, .story-card p { padding: 0 1.2rem; }
.story-card p { padding-bottom: 0.5rem; }
.story-impact {
  display: block;
  background: var(--bg-accent);
  padding: 0.8rem 1.2rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ===== Financial Transparency ===== */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.finance-list {
  list-style: none;
  margin-top: 1rem;
}
.finance-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.finance-list i { color: var(--accent); }
.pie-chart-visual {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  background: conic-gradient(var(--accent) 0% 42%,
                             var(--accent-light) 42% 70%,
                             #2A9D8F 70% 88%,
                             #264653 88% 100%);
  border-radius: 50%;
  transition: transform 0.3s;
}
.pie-chart-visual:hover { transform: scale(1.02); }

/* ===== Value Badges ===== */
.about-values { margin: 3rem 0; text-align: center; }
.values-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.value-badge {
  background: var(--bg-accent);
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.value-badge:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.value-badge i { color: var(--accent); }

/* ===== Call to Action Sections ===== */
.about-cta, .invite-box, .testimonial-card, .transparency-pledge {
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}
.about-cta {
  background: var(--primary);
  color: white;
}
.about-cta i, .invite-box i, .testimonial-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.about-cta h3, .invite-box h3 { color: white; }
.cta-buttons-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.about-cta .btn-outline-light {
  border-color: white;
  color: white;
}
.about-cta .btn-outline-light:hover {
  background: white;
  color: var(--primary);
}
.transparency-pledge {
  background: linear-gradient(135deg, #FFF3E9 0%, #FFE8DD 100%);
}
.pledge-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pledge-stats div {
  background: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  min-width: 100px;
}
.pledge-stats strong {
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
}
.testimonial-card {
  background: var(--primary);
  color: white;
}
.testimonial-card p {
  font-size: 1.4rem;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}
.trust-seal {
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
}

/* ===== Get Involved Specific ===== */
.give-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin: 1rem 0;
}
.give-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.give-extra-item {
  background: var(--bg-accent);
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
}

/* ===== Contact Form ===== */
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.contact-details {
  background: var(--bg-accent);
  padding: 2rem;
  border-radius: 1.5rem;
}

/* ===== Goal Full (Our Work page) ===== */
.goal-full {
  background: white;
  border-left: 8px solid var(--accent);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  border-radius: 1.2rem;
  transition: all 0.2s;
}
.goal-full:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

/* ===== FOOTER - Enhanced Visibility ===== */
.site-footer {
  background-color: #0a2a1f;  /* deeper rich green for good contrast */
  color: #e8e8e8;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h3, 
.footer-links h4, 
.footer-contact h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-about p {
  color: #d0d0d0;
  line-height: 1.5;
  font-size: 0.9rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #d0d0d0;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #f39c12;  /* warm gold hover */
  padding-left: 4px;
  text-decoration: underline;
}

.footer-contact p {
  color: #d0d0d0;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: #f39c12;
  width: 24px;
  font-size: 1rem;
}

.socials {
  margin-top: 1rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #e0e0e0;
  font-size: 1.2rem;
  margin-right: 0.8rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #f39c12;
  color: #0a2a1f;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #b0b0b0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  
  .navbar ul {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .navbar ul.active { left: 0; }
  
  .hero-content h1 { font-size: 2.2rem; }
  .impact-content, .finance-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.2rem; }
  .section-padding { padding: 3rem 0; }
  h2 { font-size: 1.8rem; }
  .transparency-grid { flex-direction: column; align-items: center; }
  .stats-row { flex-direction: column; gap: 0.8rem; }
  .pie-chart-visual { width: 180px; height: 180px; }
  .testimonial-card p { font-size: 1.1rem; }
  .founder-story { padding: 1.5rem; }
  .timeline-item { flex-direction: column; gap: 0.5rem; }
  .team-card img { width: 100px; height: 100px; }
  .pledge-stats { flex-direction: column; align-items: center; }
  .cta-buttons-group { flex-direction: column; align-items: center; }
  .about-cta { padding: 1.5rem; }
  .give-price { font-size: 1.4rem; }
  .give-card { padding: 1.5rem; }
  .footer-grid { gap: 1.5rem; text-align: center; }
  .footer-contact p { justify-content: center; }
  .socials a { margin: 0 0.5rem; }
}

/* ===== Animations (AOS overrides) ===== */
[data-aos] {
  transition-timing-function: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* ===== Misc ===== */
.roadmap-sub {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
}
.small-print {
  font-size: 0.8rem;
  margin-top: 1.5rem;
  opacity: 0.8;
}
.partner-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 2rem;
  margin-top: 1rem;
  align-items: center;
}
.donation-tier .tier-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.spotlight-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.map-section {
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
}
@media (max-width: 768px) {
  .logo-img {
    width: 50px;
    height: 50px;
  }
  .logo a {
    font-size: 1.2rem;
  }
}
@media (max-width: 968px) {

  /* ===== HAMBURGER ICON ===== */
  .hamburger {
    display: block;
    color: #ffffff;          /* Change this to change the bars icon color */
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
  }
  .hamburger i {
    color: #ffffff;          /* Force icon color if needed */
  }

  /* ===== DROPDOWN MENU CONTAINER ===== */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0b1e2a;    /* ← Change this to change dropdown background */
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    /* Remove any white background that might appear */
    background-color: #0b1e2a !important;
  }
  .nav-menu.active {
    transform: translateY(0);
  }

  /* ===== DROPDOWN LINK COLORS – ALL STATES ===== */
  .nav-menu a {
    color: #FFB347 !important;          /* Default (gold) – CHANGE THIS */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.2s ease;
  }

  /* When you tap/hover/focus */
  .nav-menu a:hover,
  .nav-menu a:focus,
  .nav-menu a:active {
    color: #ffffff !important;          /* Turns white when tapped – visible! */
  }

  /* Active page (if you have .active class) */
  .nav-menu a.active {
    color: #ffffff !important;          /* Also white so it stands out */
  }

  /* Visited links – keep them the same as default */
  .nav-menu a:visited {
    color: #FFB347 !important;          /* Matches default so they don't turn purple */
  }

  /* ===== LOGO SIZE ADJUSTMENTS ===== */
  .logo-img {
    height: 48px;
  }
  .logo a {
    font-size: 1rem;
  }
}