/* ===============================
   HERO - PROJECTS (TREE PLANTING)
================================= */
.projects-hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)),
              url('../assets/images/tree-planting-bg.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content */
.projects-content {
  text-align: center;
  color: #fff;
  max-width: 850px;
  padding: 20px;
  animation: fadeUp 1.2s ease;
}

.projects-content h1 {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #ddd;
}

.projects-content h2 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.projects-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Buttons */
.projects-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: #28a745;
  color: #fff;
}

.btn-primary:hover {
  background: #1e7e34;
  transform: translateY(-3px);
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}










/* ===============================
   PROJECTS LIST SECTION
================================= */
.projects-list {
  padding: 80px 20px;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-header p {
  color: #555;
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card */
.project-card {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

/* Image */
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */
.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 10px;
  color: #28a745;
}

.project-info p {
  color: #555;
  margin-bottom: 15px;
}

/* Button */
.project-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #28a745;
  color: #fff;
  text-decoration: none;
}

.project-btn:hover {
  background: #1e7e34;
}



/* ===============================
   IMPACT SECTION (MODERN UPGRADE)
================================= */
.projects-impact {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle overlay effect */
.projects-impact::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  top: -50%;
  left: -50%;
  z-index: 0;
}

/* Ensure content stays above overlay */
.projects-impact .container {
  position: relative;
  z-index: 2;
}

/* ===============================
   GRID
================================= */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* ===============================
   BOX STYLE
================================= */
.impact-box {
  padding: 40px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Hover effect */
.impact-box:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 255, 255, 0.08);
}

/* ===============================
   ICON
================================= */
.impact-box i {
  font-size: 45px;
  background: linear-gradient(45deg, #28a745, #7ed957);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  display: inline-block;
}

/* ===============================
   NUMBERS
================================= */
.impact-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ===============================
   TEXT
================================= */
.impact-box p {
  color: #ddd;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}


/* ===============================
   VEGETABLE FARMING SECTION
================================= */
.vegetable-section {
  background: #fff;
  padding: 80px 20px;
}

/* Header */
.veg-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}

.veg-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
}

.veg-header p {
  color: #555;
  line-height: 1.7;
}

/* Content Layout */
.veg-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

/* Image */
.veg-image img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: cover;
}

/* Text */
.veg-text {
  flex: 1;
}

.veg-text h3 {
  color: #28a745;
  margin-bottom: 15px;
}

.veg-text p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
}

/* Bottom Gallery */
.veg-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.veg-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}




/* ===============================
   PIG FARMING SECTION
================================= */
.pig-section {
  background: url("/assets/images/pig-farm-1.png") center/cover no-repeat;
  position: relative;
  padding: 100px 20px;
}

/* DARK OVERLAY */
.pig-overlay {
  background: rgba(0, 0, 0, 0.75);
  padding: 60px 20px;
}

/* LAYOUT */
.pig-content {
  display: flex;
  align-items: center;
  gap: 50px;
  color: #fff;
}

/* LEFT IMAGE */
.pig-image img {
  width: 100%;
  max-width: 450px;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* TEXT */
.pig-text {
  flex: 1;
}

.pig-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #7ed957;
}

.pig-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #ddd;
}

/* FEATURES */
.pig-features {
  margin-top: 30px;
}

.pig-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ICON */
.pig-feature i {
  font-size: 30px;
  color: #28a745;
  min-width: 40px;
}

/* TEXT */
.pig-feature h4 {
  margin-bottom: 5px;
}

.pig-feature p {
  font-size: 0.9rem;
  color: #ccc;
}

/* HOVER EFFECT */
.pig-feature:hover i {
  transform: scale(1.2);
  transition: 0.3s;
}



/* ===============================
   EXTERNAL PROJECTS SECTION
================================= */
.external-projects {
  padding: 90px 20px;
  background: #ffffff;
}

/* HEADER */
.ext-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 60px;
}

.ext-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
}

.ext-header p {
  color: #555;
  line-height: 1.7;
}

/* GRID */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.ext-card {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: 0.4s;
  border-bottom: 4px solid transparent;
}

/* HOVER EFFECT */
.ext-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid #28a745;
}

/* IMAGE */
.ext-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.ext-content {
  padding: 20px;
}

.ext-content h3 {
  margin-bottom: 10px;
  color: #28a745;
}

.ext-content p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* BUTTON */
.ext-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #28a745;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.ext-btn:hover {
  background: #1e7e34;
}





/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-box {
    padding: 30px 15px;
  }

  .impact-box h3 {
    font-size: 2rem;
  }
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
  .projects-content h2 {
    font-size: 2.5rem;
  }

  .projects-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .projects-hero {
    height: 85vh;
  }

  .projects-content h2 {
    font-size: 2rem;
  }
}


/* Responsive */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .veg-content {
    flex-direction: column;
  }

  .veg-image img {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .veg-gallery {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
  .pig-content {
    flex-direction: column;
    text-align: center;
  }

  .pig-image img {
    height: 300px;
  }

  .pig-feature {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .pig-text h2 {
    font-size: 2rem;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .ext-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .ext-grid {
    grid-template-columns: 1fr;
  }
}