/* RESET AND BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* === NEW === Smooth scrolling effect for entire site */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #333;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
/* Floating Top-Right Social Icons */
.social-top-right {
  position: fixed;
  top: 15px;   /* slightly closer to top */
  right: 15px; /* slightly closer to right */
  display: flex;
  gap: 12px;   /* default spacing */
  z-index: 2000;
}

.social-top-right a {
  text-decoration: none;
  color: #2e7d32; /* theme color */
  font-size: 1.2rem; /* default for large screens */
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-top-right a:hover {
  color: #1b4d23;
  transform: scale(1.2);
}

/* Laptops */
@media (max-width: 1024px) {
  .social-top-right a {
    font-size: 1.1rem;
  }
  .social-top-right {
    gap: 10px;
    top: 12px;
    right: 12px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .social-top-right a {
    font-size: 1rem;
  }
  .social-top-right {
    gap: 8px;
    top: 10px;
    right: 10px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .social-top-right a {
    font-size: 0.9rem;
  }
  .social-top-right {
    gap: 6px;
    top: 8px;
    right: 8px;
  }
}

/*Header*/
.header {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.4s ease, background-color 0.3s ease;
  padding: 20px 0;
}

/* Hide header on scroll */
.header.hide {
  transform: translateY(-100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo span {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2e7d32;
}

/* NAV/HAMBURGER STYLES MOVED TO common.css - per-page rules disabled
   Original rules removed to avoid conflicts. */

.about-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin-top: 0; /* no gap below fixed header */
  background-image: url("Docs/aboutbk.JPG");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
/* Background Slideshow */
.about-hero {
  animation: slideshow 20s infinite ease-in-out;
}

@keyframes slideshow {
  1% { background-image: url("Docs/aboutbk.JPG"); }
  33% { background-image: url("Docs/aboutbk2.JPG"); }
  66% { background-image: url("Docs/aboutbk3.JPG"); }
  100% { background-image: url("Docs/aboutbk4.JPG"); }
}

/* Dark overlay */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content container */
.about-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 60px 30px;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* Text content */
.about-text {
  flex: 1 1 500px;
}

.about-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease forwards;
}

.about-text .tagline {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #c8f0c8;
  animation: fadeInUp 1.2s ease forwards;
}

.about-text .intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  animation: fadeInUp 1.4s ease forwards;
}

/* CTA button */
.hero-btn {
  background-color: #2e7d32;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: fadeInUp 1.6s ease forwards;
}
.hero-btn:hover {
  background-color: #256328;
  transform: translateY(-3px);
}

/* Image side */
.about-image {
  flex: 1 1 400px;
  text-align: center;
  animation: fadeInRight 1.4s ease forwards;
}
.about-image img {
  width: 85%;
  max-width: 380px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}
.about-image img:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .about-text h1 {
    font-size: 2.2rem;
  }
  .about-text .intro {
    font-size: 1rem;
  }
  .about-image img {
    width: 200px;
  }
}

/* ===== OBJECTIVES ===== */
.objectives-section {
  background: #f9f9f9;
  text-align: center;
  padding: 60px 20px;
}
.objectives-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2e7d32;
}
.objectives-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}
.objectives-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}
.objective-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.objective-card i {
  font-size: 2.5rem;
  color: #2e7d32;
  margin-bottom: 15px;
}
.objective-card h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}
.objective-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Powers/How We Work Section */
.objectives-powers {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 4px solid #2e7d32;
}
.objectives-powers h3 {
  font-size: 1.6rem;
  color: #2e7d32;
  margin-bottom: 30px;
}
.powers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}
.power-item {
  padding: 20px;
  background: #f0f8f0;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.power-item:hover {
  background: #e0f2e0;
  transform: translateY(-3px);
}
.power-item i {
  font-size: 2rem;
  color: #2e7d32;
  display: block;
  margin-bottom: 15px;
}
.power-item p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* ===== IMPACT ===== */
.impact-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Docs/impact-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}
.impact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}
.impact-card {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 12px;
  width: 180px;
  backdrop-filter: blur(4px);
}
.counter {
  font-size: 2.5rem;
  color: #ffca28;
  margin-bottom: 10px;
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f8f0 100%);
  padding: 80px 20px;
  text-align: center;
}
.timeline-section h2 {
  color: #2e7d32;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 700;
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #2e7d32, #1b4d23);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

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

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: #2e7d32;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  background: #1b4d23;
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 0 15px rgba(46, 125, 50, 0.5);
}

.timeline-year {
  position: absolute;
  left: 12px;
  top: 60px;
  background: linear-gradient(135deg, #2e7d32, #1b4d23);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.timeline-item:hover .timeline-year {
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.timeline-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: left;
  border-left: 4px solid #2e7d32;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2e7d32, #1b4d23, #2e7d32);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.2);
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
}

.timeline-content h4 {
  color: #2e7d32;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.timeline-content p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .impact-section {
    flex-direction: column;
    text-align: center;
  }
  .timeline::before {
    left: 10px;
  }
  .timeline-item {
    padding-left: 40px;
  }
}

/* Mission & Vision section */
.mv-section {
  background: white;
  color: black;
  padding: 70px 20px;
}

.mv-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  gap: 20px;
  margin: 0 auto;
}

.mv-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  width: clamp(260px, 30vw, 500px);
  max-width: 100%;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  box-sizing: border-box;
}

.mv-card:hover {
  background: #fff;
  color: #007e5e;
  transform: translateY(-5px);
}

.mv-card h3 {
  margin-bottom: 15px;
}

.mv-card ul {
  list-style: none;
}

.mv-card ul li {
  margin: 5px 0;
}

/* ===== FOOTER ===== */
/* ABOUT PAGE FOOTER */
.footer {
  background: linear-gradient(135deg, #0a0f24 0%, #1a1f35 100%);
  color: #fff;
  padding: 80px 0 40px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2e7d32, transparent);
}

.footer-container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

/* Footer MV Row - 3-4 columns */
.footer-mv-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.mv-column {
  padding: 30px;
  background: rgba(46, 125, 50, 0.05);
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.mv-column:hover {
  background: rgba(46, 125, 50, 0.15);
  border-left-color: #2e7d32;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
}

.mv-column h4 {
  color: #4cc9f0;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-column h4 i {
  color: #2e7d32;
}

.mv-column p,
.mv-column ul li {
  line-height: 1.8;
  color: #ddd;
  font-size: 14px;
}

.mv-column p {
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.mv-column p i {
  color: #2e7d32;
  margin-right: 8px;
  width: 16px;
}

.mv-column ul {
  list-style: none;
  padding: 0;
}

.mv-column ul li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
  transition: all 0.3s ease;
}

.mv-column ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: bold;
}

.mv-column ul li:hover {
  padding-left: 20px;
  color: #4cc9f0;
}

.mv-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.mv-column ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2e7d32;
  transition: width 0.3s ease;
}

.mv-column ul li a:hover {
  color: #4cc9f0;
}

.mv-column ul li a:hover::after {
  width: 100%;
}

/* Newsletter Section */
/* Newsletter styles removed */

/* Footer Bottom */
.footer-bottom {
  border-top: 2px solid rgba(46, 125, 50, 0.3);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #2e7d32, #1b4d23);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(46, 125, 50, 0.3);
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(76, 201, 240, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #1b4d23, #0d3015);
  color: #4cc9f0;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
  border-color: #4cc9f0;
}

.social-icons a:hover::before {
  width: 100px;
  height: 100px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .footer-mv-row {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .footer-mv-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  /* newsletter styles removed */
}

@media (max-width: 500px) {
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-mv-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-bottom {
    font-size: 13px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  /* newsletter styles removed */
  
  .mv-column {
    padding: 20px;
  }
  
  .mv-column h4 {
    font-size: 14px;
  }
}


/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .navbar ul {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* mobile navbar behavior moved to common.css */

  .navbar.active ul {
    display: flex;
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
  }

  .navbar ul li a {
    padding: 15px 0;
    display: block;
    color: #333;
  }

  .logo img {
    height: 60px;
  }

  .logo span {
    font-size: 1.2rem;
  }
}

/* Tablets / Small screens for About Hero */
@media (max-width: 768px) {
  .about-hero {
    min-height: 60vh;
    padding: 15px;
  }

  .about-hero .overlay {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    gap: 30px;
  }

  .about-text-block {
    max-width: 100%;
  }

  .about-text-block h1 {
    font-size: 2rem;
  }

  .about-text-block h2 {
    font-size: 1.5rem;
  }

  .about-text-block p {
    font-size: 1rem;
  }

  .about-image-block img {
    width: 180px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .about-hero {
    min-height: 50vh;
    padding: 10px;
  }

  .about-hero .overlay {
    padding: 25px 15px;
    border-radius: 10px;
    gap: 20px;
  }

  .about-text-block h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .about-text-block h2 {
    font-size: 1.3rem;
    margin: 15px 0 8px;
  }

  .about-text-block p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .about-image-block img {
    width: 120px;
  }
}

/* Small phones (iPhone 12 - 390px) */
@media (max-width: 390px) {
  .logo img { height: 45px; }
  .logo span { font-size: 1rem; }
  .logo { gap: 8px; }
}
/* Hide header on scroll */
.header.hide {
  transform: translateY(-100%);
}
.header {
  transition: transform 0.4s ease, background-color 0.3s ease;
}
