/* PROJECTS SECTION LANDING */
.projects-dashboard {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
	max-width: 1340px;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.projects-header h2 {
  margin: 0;
  color: #0f5132;
  font-size: 26px;
  font-weight: 700;
}

.projects-header a {
  color: #0f5132;
  font-weight: 700;
  text-decoration: none;
}

/* .projects-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
} */

.project-card {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  background: #fff;
}

.project-card h3 {
  min-height: 64px;
  margin: 0 0 22px;
  color: #0f5132;
  font-size: 17px;
  line-height: 1.35;
}

.project-card h4 {
  margin: 0;
  font-size: 24px;
  color: #111827;
}

.project-card h4 span {
  font-size: 16px;
}

.project-card p {
  font-size: 14px;
  margin: 3px 0 18px;
  color: #6b7280;
}

.status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status.pending {
  color: #d97706;
  background: #fff7db;
  border: 1px solid #fde68a;
}

.status.completed {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.location {
  margin: 20px 0;
  color: #6b7280;
  font-size: 12px;
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.projects-dots {
  text-align: center;
  margin: 24px 0;
}

.projects-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 7px;
  border-radius: 50%;
  background: #d1d5db;
}

.projects-dots .active {
  background: #0f5132;
}

.project-note {
  margin-top: 50px;
  color: #4b5563;
}

.projects-summary {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.projects-summary h3 {
  margin: 0 0 26px;
  color: #0f5132;
  font-size: 25px;
}

.summary-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e8f5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.summary-icon.yellow {
  background: #fff2c7;
}

.summary-item p {
  margin: 0 0 0px;
  color: #374151;
  font-weight: 600;
	font-size: 15px
}

.summary-item strong {
  color: #0f5132;
  font-size: 24px;
}

.summary-btn {
  display: block;
  margin-top: 26px;
  padding: 16px;
  border-radius: 8px;
  background: #0f5132;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

/* Arrows */
.projects-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
	padding: 0px;
	margin: -8px !important;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  color: #0f5132;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}

.slider-arrow:hover {
  background: #e8f5ec;
  border-color: #0f5132;
	color: #0f5132;
}

.slider-arrow:focus,
.slider-arrow:focus-visible {
  outline: none;
  color: #0f5132;
}

/* ===== PROJECT ANIMATION BASE ===== */

.project-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  will-change: transform, opacity;
}

/* when visible */
.project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* optional: stagger feel enhancement */
.project-card:nth-child(1) { transition-delay: 0.05s; }
.project-card:nth-child(2) { transition-delay: 0.15s; }
.project-card:nth-child(3) { transition-delay: 0.25s; }

.projects-cards {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* each slide */
.project-slide {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  animation: fadeSlide 0.6s ease;
}

.project-slide.active {
  display: grid;
}

/* animation */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
  .projects-dashboard {
    grid-template-columns: 1fr;
  }

  .projects-cards {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .project-slide {
    grid-template-columns: 1fr !important;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 16px;
  }
}