/* ========================
   ABOUT PAGE ENHANCED CSS
======================== */
#hero-about {
  transform: none !important;
  animation: none !important;
}

/* ===== SECTION BACKGROUND LAYERS ===== */
section:nth-of-type(odd) { 
   background: #f9f9f9;
}
section:nth-of-type(even) { 
  background: #fff; 
}



#mission {
  padding: 60px ;
  position: relative;
  margin: 0 auto;
  width:60%;
}

#mission .fade-in {
  padding: 35px 30px;
  margin: 30px auto;
  max-width: 900px;  /* this keeps content centered */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#mission .fade-in:hover {
  transform: translateY(-6px);
}

/* Decorative paw icon before heading */
#mission h2::before {
  content: "🐾";
  margin-right: 10px;
  font-size: 28px;
  color: var(--clr-purple-light);
}

/* Typography tweaks */
#mission h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
#mission p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--txt-secondary);
}
.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 60px 30px;
  background: var(--bg-white);
  position: relative;
}

/* Timeline cards */
.timeline-item {
  padding: 10px 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
  border-left: 6px solid var(--clr-blue-light);
  width:60%;
  margin: 0 auto; 
  text-align: center;
}

.timeline-item:nth-child(odd) { background: #f0f8ff; } /* light blue-ish */
.timeline-item:nth-child(even) { background: #fffaf0; } /* light orange-ish */

/* Hover effect */
.timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Year styling */
.timeline-item .year {
  font-weight: 700;
  color: var(--clr-blue);
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

/* Text styling */
.timeline-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #mission .fade-in {
    padding: 25px 20px;
  }
  .timeline-item {
    padding: 20px 15px;
  }
}
/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: linear-gradient(to bottom, #fff, #f9f9f9);
  border: 2px solid var(--clr-blue-light);
  padding: 25px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-color: var(--clr-purple-light);
}
.team-member img {
 width: 160px;              
  height: 160px;             
  object-fit: cover;        
  border-radius: 50%;       
  border: 3px solid var(--clr-blue-light);
  padding: 5px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member img:hover { transform: scale(1.05); }
.team-member h3:hover { color: var(--clr-purple-light); }

/* ===== IMPACT CARDS ===== */
.impact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Assign different background colors per card */
.impact-card:nth-child(1) { background: #e0f7fa; } 
.impact-card:nth-child(2) { background: #fff3e0; } 
.impact-card:nth-child(3) { background: #e8f5e9; } 
.impact-card:nth-child(4) { background: #f3e5f5; } 

/* Base styling for all cards */
.impact-card {
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.impact-card img {
width: 250px;            
  height: 250px;             
  object-fit: cover;         
  border-radius: 50%;        
  border: 3px solid var(--clr-blue-light);
  padding: 5px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.impact-card:hover img { transform: scale(1.03); }


/* Optional decorative icon overlay */
.impact-card::after {
  content: "❤️";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  opacity: 0.15;
}

/* ===== PROCESS / HOW WE WORK ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.step-card {
  background: #fff;
  border-top: 6px solid var(--clr-blue-light);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}
.step-card img {
  width: 100%;             
  height: 250px;            
  border-radius: 8px;       
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
  object-fit: cover;        
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 8px 18px rgba(0,0,0,0.12); border-top-color: var(--clr-purple-light); }

.step-card::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-purple-light);
  color: #fff;
  padding: 6px 12px;
  border-radius: 50%;
  font-weight: 700;
}

.process-steps { counter-reset: step; }

/* ===== CALL TO ACTION ===== */
#join {
  padding: 60px 30px;
  border-radius: var(--radius-lg);
}

#join p { font-size: 20px; margin-bottom: 20px; }

#join .btn {
  padding: 12px 25px;
  margin: 5px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

#join .btn:hover { transform: scale(1.05); background: #000; color: #f9f9f9; }

/* ===== FOOTER ===== */
.footer { position: relative; padding: 60px 20px; text-align: center; }
.footer::before {
  content: "";
  position: absolute;
  top: -15px; left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(to right, var(--clr-blue-light), var(--clr-purple-light));
  opacity: 0.05;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .team-grid, .impact-cards, .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #join { padding: 40px 20px; }
  .timeline-item, .team-member, .impact-card, .step-card { margin: 10px auto; }
}
@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    margin: 0; 
    border-left-width: 4px; 
    padding: 25px 20px;
  }

  .story-timeline {
    padding: 40px 15px; 
    gap: 40px;
  }
}
.story-timeline {
  background: transparent;
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  cursor: pointer;
}

.timeline-item {
  display: none;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: opacity 0.3s ease;
}

.timeline-item.active {
  display: block;
}

.timeline-item .year {
  display: block;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}
.story-timeline-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-timeline {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item {
  display: none;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: opacity 0.3s ease;
}

.timeline-item.active {
  display: block;
}

.timeline-item .year {
  display: block;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.timeline-controls button {
  padding: 20px 20px;
  margin: 0 5px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.timeline-controls button:hover {
  background: #0056b3;
}
.timeline-controls {
  display: flex;
  justify-content: center;  
  gap: 10px;             
  margin-top: 20px;       
}

.timeline-controls button {
  padding: 8px 16px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.timeline-controls button:hover {
  background: #0056b3;
}
#hero-about {
  background-size: 100% auto; 
  background-position: center top 30%;
  background-repeat: no-repeat;
  height:60vh;
}
@media (max-width: 768px) {
  #hero-about {
    background-size: cover; 
    height: 35vh;          
    padding: 20px;         
    
    background-position: center; 
  }

  #hero-about .hero-content {
    max-width: 90%;
    padding: 10px 0;
  }
}