.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* border-radius: 10px; */
  cursor: pointer;
}

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

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.65));
  transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.55));
}

.project-tag {
  font-size: 12px;
  text-transform: uppercase;
  color: #FF7A00;
  font-weight: 700;
}

.project-title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}

.project-details-container {
  transition: all 0.3s ease;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-bottom: 10px;
}

.project-details-container .card {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
}

.project-details-container .card-body {
  padding: 1rem;
}

.project-details-container .card-title {
  color: #f65a2a;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.project-details-container p {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #333;
}

.project-overlay .project-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.project-overlay .project-details p {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  color: #fff;
}

.view-details-btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 15px;
  transition: all 0.2s ease;
  border-width: 1px;
}

.view-details-btn:hover {
  background-color: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 20px #000;
}

.modal-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.95rem;
}

.modal-counter {
  min-width: 80px;
  text-align: center;
  font-weight: 600;
  color: #f65a2a;
}

.modal-nav-button {
  border: none;
  background: rgba(12, 11, 11, 0.449);
  color: #f65a2a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-nav-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-ind {
  width: 440px !important;
  height: auto !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card img {
  min-width: 100%;
  min-height: 100%;
}
.swiper-button-next,
.swiper-button-prev {
 width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1c2b39;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}
.swiper-button-prev:after,
.swiper-button-next:after {
    content: '';
}
