/* Project Carousel Section */
.project-carousel-section {
  position: relative;
}

.project-filter-tabs {
  margin-top: 40px;
}

.project-filter-tabs .nav-pills {
  gap: 8px;
  flex-wrap: wrap;
}

.project-filter-tabs .nav-link {
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-filter-tabs .nav-link:hover,
.project-filter-tabs .nav-link.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* Project Cards */
.project-card-items {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.project-card-items:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-items:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card-items:hover .project-overlay {
  opacity: 1;
}

.project-content {
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-card-items:hover .project-content {
  transform: translateY(0);
}

.project-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.project-tags .tag {
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.project-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.project-content h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-content h3 a:hover {
  color: var(--theme-color);
}

.project-content p {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.project-link:hover {
  gap: 15px;
  color: var(--theme-color);
}

/* Project Stats Section */
.project-stats-section {
  position: relative;
}

.stats-card-items {
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stats-card-items:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stats-card-items .icon {
  margin-bottom: 20px;
}

.stats-card-items .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.stats-card-items .content h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--theme-color);
  margin-bottom: 10px;
  line-height: 1;
}

.stats-card-items .content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.stats-card-items .content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Project CTA Section */
.project-cta-section {
  position: relative;
}

.project-cta-wrapper {
  padding: 60px 50px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.project-cta-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.project-cta-wrapper .row {
  position: relative;
  z-index: 2;
}

.project-cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.project-cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.project-cta-button .theme-btn {
  padding: 15px 35px;
}

/* Responsive */
@media (max-width: 991px) {
  .project-cta-wrapper {
    padding: 40px 30px;
  }

  .project-cta-content h2 {
    font-size: 28px;
  }

  .project-cta-button {
    margin-top: 20px;
  }

  .stats-card-items .content h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .project-filter-tabs .nav-link {
    padding: 10px 20px;
    font-size: 14px;
  }

  .project-image {
    height: 280px;
  }

  .project-content h3 {
    font-size: 20px;
  }

  .project-cta-content h2 {
    font-size: 24px;
  }

  .stats-card-items {
    padding: 30px 20px;
  }

  .stats-card-items .content h2 {
    font-size: 32px;
  }
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */

.project-detail-type-badge {
  display: inline-block;
  background: var(--theme2, #F4B942);
  color: var(--header, #1F1726);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.project-detail-article {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.project-detail-featured-image {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}

.project-detail-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-detail-body {
  padding: 32px;
}

.project-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text, #5E5568);
  margin-bottom: 28px;
}

.project-detail-content p { margin-bottom: 16px; }

.project-detail-content a {
  color: var(--theme, #6C3484);
  text-decoration: underline;
}

.project-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-live-btn i { font-size: 13px; }

/* Sidebar */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.project-sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--header, #1F1726);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--theme, #6C3484);
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border, #E5DDEA);
}

.project-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-weight: 600;
  color: var(--header, #1F1726);
}

.info-value {
  color: var(--text, #5E5568);
  text-align: right;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--theme, #6C3484) !important;
  text-decoration: none;
  font-weight: 600;
}

.info-link i { font-size: 11px; }

.project-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-sidebar-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.project-sidebar-thumb {
  width: 72px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.project-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-sidebar-info { flex: 1; }

.project-sidebar-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme, #6C3484);
  letter-spacing: 0.4px;
  display: block;
  margin-bottom: 4px;
}

.project-sidebar-info h5 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.project-sidebar-info h5 a {
  color: var(--header, #1F1726);
  text-decoration: none;
  transition: color 0.2s;
}

.project-sidebar-info h5 a:hover {
  color: var(--theme, #6C3484);
}

.project-sidebar-cta {
  background: linear-gradient(135deg, var(--theme, #6C3484) 0%, #542866 100%);
  text-align: center;
}

.project-sidebar-cta h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-sidebar-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .project-detail-body { padding: 20px 16px; }
  .project-detail-featured-image { max-height: 260px; }
}
