/* ===============================
   HERO - ONGOING PROJECTS
================================= */
.hero-projects {
    height: 100vh;
    background: url('../assets/images/projects-bg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    max-width: 750px;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-btn.primary {
    background: #28a745;
    color: #fff;
}

.hero-btn.primary:hover {
    background: #1e7e34;
}

.hero-btn.secondary {
    border: 2px solid #fff;
    color: #fff;
}

.hero-btn.secondary:hover {
    background: #fff;
    color: #000;
}


/* ===============================
   SECTION 2 - PROJECT DETAIL
================================= */
.project-detail {
  padding: 80px 20px;
  background: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* GRID */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IMAGE */
.project-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1px;
}

/* CONTENT */
.project-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.project-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* INFO */
.project-info {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.project-info span {
  background: #e9f7ef;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* BUTTON */
.project-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #28a745;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.project-btn:hover {
  background: #1e7e34;
  transform: translateY(-2px);
}




/* ===============================
   SECTION 3 - RECONSTRUCTION
================================= */
.project-reconstruction {
  padding: 90px 20px;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* GRID */
.reconstruction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* CONTENT */
.reconstruction-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.reconstruction-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* LIST */
.reconstruction-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.reconstruction-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #333;
}

/* BUTTON */
.reconstruction-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #28a745;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.reconstruction-btn:hover {
  background: #1e7e34;
  transform: translateY(-3px);
}

/* IMAGE */
.reconstruction-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1px;
}

/* ===============================
   SECTION 4 - LIVESTOCK SUPPORT
================================= */


/* ===============================
   SECTION HEADER FIX (GLOBAL SAFE)
================================= */
.section-header {
  text-align: center;
  margin-bottom: 50px; /* ✅ THIS FIXES THE TOUCHING ISSUE */
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-header p {
  color: #555;
  max-width: 700px;
  margin: auto;
}

/* ===============================
   LIVESTOCK SECTION FIX
================================= */
.livestock-support {
  padding: 90px 20px; /* more breathing space */
  background: #ffffff;
}

.livestock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.livestock-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.livestock-card:hover {
  transform: translateY(-10px);
}

/* IMAGE */
.livestock-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.livestock-content {
  padding: 20px;
}

.livestock-content h3 {
  margin-bottom: 10px;
  color: #28a745;
}

.livestock-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}



/* ===============================
   SECTION 5 - EQUIPMENT
================================= */
.equipment-section {
  padding: 180px 40px;
  background: #ffffff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.equipment-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-10px);
}

/* IMAGE */
.equipment-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.equipment-content {
  padding: 20px;
}

.equipment-content h3 {
  margin-bottom: 10px;
  color: #0d6efd; /* blue to differentiate from green sections */
}

.equipment-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}






/* ===============================
   SECTION 6 - ICON IMPACT
================================= */
.impact-icons {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.impact-card {
  background: #f9fafb;
  padding: 30px 20px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.impact-card:hover {
  background: #28a745;
  color: #fff;
  transform: translateY(-8px);
}

/* ICON */
.impact-card i {
  font-size: 40px;
  color: #28a745;
  margin-bottom: 15px;
}

.impact-card:hover i {
  color: #fff;
}

/* TEXT */
.impact-card h3 {
  margin-bottom: 10px;
}

.impact-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===============================
   RESPONSIVE
================================= */

/* Tablets */
@media (max-width: 992px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-card {
    padding: 25px 15px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .impact-icons {
    padding: 60px 15px;
  }

  .impact-card i {
    font-size: 32px;
  }

  .impact-card h3 {
    font-size: 1.2rem;
  }

  .impact-card p {
    font-size: 0.9rem;
  }
}
/* ===============================
   RESPONSIVE
================================= */

/* Tablets */
@media (max-width: 992px) {
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card img {
    height: 200px;
  }

  .equipment-content {
    text-align: center;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .equipment-section {
    padding: 60px 15px;
  }

  .equipment-content h3 {
    font-size: 1.2rem;
  }

  .equipment-content p {
    font-size: 0.9rem;
  }
}


/* Tablets */
@media (max-width: 992px) {
  .livestock-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .livestock-grid {
    grid-template-columns: 1fr;
  }

  .livestock-card img {
    height: 200px;
  }

  .livestock-content {
    text-align: center;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .livestock-support {
    padding: 60px 15px;
  }

  .livestock-content h3 {
    font-size: 1.2rem;
  }

  .livestock-content p {
    font-size: 0.9rem;
  }
}
/* TABLET */
@media (max-width: 992px) {
  .reconstruction-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reconstruction-content {
    text-align: center;
  }

  .reconstruction-list {
    text-align: center;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .reconstruction-content h2 {
    font-size: 2rem;
  }

  .reconstruction-image img {
    height: 250px;
  }

  .reconstruction-content p {
    font-size: 0.95rem;
  }
}
/* TABLET */
@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-content {
    text-align: center;
  }

  .project-info {
    justify-content: center;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .project-image img {
    height: 250px;
  }

  .project-content h2 {
    font-size: 2rem;
  }

  .project-content p {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-projects {
        height: 85vh;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }
}