/* ==== PROJECTS LAYOUT ==== */
.ct-projects {
  display: flex ;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

.ct-project {
  flex: 1 1 calc(33.333% - 24px);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ct-project:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.ct-project img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #e2e2e2;
}

.ct-project-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ct-project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.ct-project-desc {
  font-size: 0.95rem;
  color: #555;
  flex: 1;
}
.ct-projects-carousel {
  width: 100%;
  padding: 40px 0;
  position: relative;
}

.ct-project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.ct-project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.ct-project-info {
  padding: 20px;
  text-align: center;
}

.ct-project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.ct-project-excerpt {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.swiper-button-next,
.swiper-button-prev {
  color: #222;
  transition: color 0.3s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #0073e6;
}

.swiper-pagination-bullet {
  background: #999;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: #0073e6;
  opacity: 1;
}

/* Optional responsive tweak */
@media (max-width: 768px) {
  .ct-project {
    flex: 1 1 100%;
  }
}
