.project-details-page {
  padding-top: 120px;
  background-color: #fff;
}

.project-header {
  max-width: 800px;
  margin-bottom: 50px;
}

.project-cat {
  display: inline-block;
  color: #004f9f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.project-title {
  font-size: 3rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 20px;
}

.project-desc {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* Slider */
.project-slider {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  height: auto;
}

.project-slider .swiper-slide img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  filter: none !important;
  opacity: 1 !important;
  max-height: none !important;
}
.project-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  display: flex !important;
}
.swiper-pagination-bullet-active {
  background-color: #004f9f;
}

/* Gradient Border Styles */
.project-gradient-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 4px;
  z-index: 1;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.project-gradient-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #004f9f 90deg,
    #ae0e0b 180deg,
    #004f9f 270deg,
    transparent 360deg
  );
  animation: projectRotate 4s linear infinite;
  z-index: 0;
  opacity: 1;
}

.project-gradient-inner {
  position: relative;
  background: white;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  z-index: 1;
}

@keyframes projectRotate {
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .project-slider .swiper-slide img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .project-title {
    font-size: 2.2rem;
  }
  .project-slider .swiper-slide img {
    height: 400px;
  }
}
