.project-details-section {
  position: relative;
  padding: 70px 6%;
  overflow: hidden;
}

.project-details-container {
  position: relative;
  z-index: 2;
  padding-left: 10px;
  padding-right: 10px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 70px;
  align-items: start;
}

.project-info {
  animation: slideLeft 0.9s ease forwards;
}

.info-block {
  margin-bottom: 34px;
}

.info-block h4,
.info-block h2 {
  margin: 0 0 8px;
  color: #0e160c;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-family: "GraphikLight", sans-serif !important;
}

.info-block h4 {
  font-size: 25px;
}

.info-block h2 {
  font-size: 29px;
  color: #0e160c;
  font-family: "GraphikLight", sans-serif !important;
}

.info-block p,
.info-block li {
  color: #6b6b6b;
  font-family: "GraphikLight", sans-serif !important;
  font-size: 14px;
  line-height: 1.55;
}

.info-block ul {
  margin: 0;
}

.project-gallery {
  animation: slideRight 0.9s ease forwards;
}

.main-image {
  width: 100%;
  height: 305px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.main-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 42px rgba(0, 0, 0, 0.24);
}

.small-images {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.placeholder-card {
  height: 310px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7b887d, #374d43);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
  animation: floatCard 4s ease-in-out infinite;
}

.sub-image {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.placeholder-card:nth-child(2) {
  animation-delay: 0.4s;
}

.placeholder-card:hover,
.sub-image:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 28px 42px rgba(0, 0, 0, 0.28);
}

.service-header-title h1,
.service-header-title h2 {
  max-width: 650px !important;
  font-size: 28px !important;
  text-transform: uppercase !important;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(45px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (min-width: 1750px) {
  .project-details-container {
    position: relative;
    z-index: 2;
    padding-left: 120px;
    padding-right: 120px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 70px;
    align-items: start;
  }
}
@media (max-width: 1200px) {
  .project-details-container {
    position: relative;
    z-index: 2;
    padding-left: 0;
    padding-right: 0;
    margin: auto;
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 70px;
    align-items: start;
  }
  .project-details-section {
    position: relative;
    padding: 60px 4%;
    overflow: hidden;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .project-details-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .main-image {
    height: 280px;
  }

  .small-images {
    margin-top: 35px;
  }
}

@media (max-width: 750px) {
  .service-header-title h1,
  .service-header-title h2 {
    max-width: 300px !important;
    font-size: 16px !important ;
    margin-bottom: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .project-details-section {
    position: relative;
    padding: 60px 8%;
    overflow: hidden;
  }
  .info-block h4 {
    font-size: 21px;
  }

  .info-block h2 {
    font-size: 24px;
  }

  .info-block p,
  .info-block li {
    font-size: 13.5px;
  }

  .main-image {
    height: 210px;
  }

  .small-images {
    grid-template-columns: 1fr;
  }

  .placeholder-card {
    height: 230px;
    font-size: 18px;
  }

  .sub-image {
    height: 230px;
  }

  .projecttit h2 {
    font-size: 16px !important;
  }
}
