.ProjectsContent,
.ProjectsDisContent {
  display: flex;
  background-color: #eae9e5;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--PMGR-48px);
  padding: var(--PMGR-48px) 0;
}

.ProjectsS1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80vw;
  gap: var(--PMGR-24px);
}
.ProS1P1 {
  color: #653112;
  font-size: var(--font-32px);
  align-self: flex-start;
}
.ProS1P2 {
  height: 0.05vw;
  width: 100%;
  background-color: #653112;
}
.ProS1P3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.ProS1P3Btn {
  display: flex;
  align-items: center;
  gap: var(--PMGR-12px);
  border-radius: var(--PMGR-24px);
  border: 1px solid var(--color-5, #653112);
  padding: var(--PMGR-12px) var(--PMGR-16px);
}
.ProS1P3Btn,
.ProS1P3Btn:active,
.ProS1P3Btn:visited,
.ProS1P3Title {
  color: #653112;
  font-size: var(--font-16px);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.ProS1P3Btn img {
  width: 0.7vw;
  height: 1.5vw;
}
.ar.ProS1P3Btn img {
  rotate: 180deg;
}
.ProS1P3Title {
  display: flex;
  align-items: center;
  border-radius: var(--PMGR-24px);
  border: 1px solid var(--color-5, #653112);
  padding: var(--PMGR-12px) var(--PMGR-16px);
}

.ProS1P3Icon img {
  width: 10vw;
}

.ProS1P4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--PMGR-48px);
  width: 80vw;
  flex-wrap: wrap;
  padding-top: var(--PMGR-24px);
}

/*  */
/*  */
/*  */
.ProjectComponent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 20vw;
  border-radius: var(--PMGR-8px);
}
.ProComP1 img {
  width: 20vw;
  height: 15vw;
  border-radius: var(--PMGR-8px);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.ProComP2,
.ProComP2Other {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--PMGR-16px);
  width: 100%;
  margin-top: -1vw;
  gap: var(--PMGR-16px);
  border-radius: var(--PMGR-8px);
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.ProComP2 {
  background-color: #f9f5dc;
}
.ProComP2T,
.ProComP2A {
  display: flex;
  align-items: center;
  border-radius: var(--PMGR-24px);
  border: 1px solid var(--color-5, #653112);
  padding: var(--PMGR-12px) var(--PMGR-16px);
}
.ProComP2T {
  color: #653112;
  font-size: var(--font-16px);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
.ProComP2A {
  background-color: #653112;
  border-radius: var(--PMGR-12px);
  gap: var(--PMGR-12px);
}
.ProComP2A,
.ProComP2A:active,
.ProComP2A:visited {
  color: #f9f6c8;
  font-size: var(--font-16px);
  text-transform: uppercase;
  text-decoration: none;
}
.ProComP2A img {
  width: 1.5vw;
}

.ProComP2Other {
  background-color: #653112;
}
.ProComP2TOther,
.ProComP2AOther {
  display: flex;
  align-items: center;
  border-radius: var(--PMGR-24px);
  border: 1px solid var(--color-5, #ebc173);
  padding: var(--PMGR-12px) var(--PMGR-16px);
}
.ProComP2TOther {
  color: #ebc173;
  font-size: var(--font-12px);
  text-transform: uppercase;
  text-decoration: none;
}
.ProComP2AOther {
  background-color: #653112;
  border-radius: var(--PMGR-12px);
  gap: var(--PMGR-12px);
}
.ProComP2AOther,
.ProComP2AOther:active,
.ProComP2AOther:visited {
  color: #f9f6c8;
  font-size: var(--font-16px);
  text-transform: uppercase;
  text-decoration: none;
}
.ProComP2AOther img {
  width: 1.5vw;
}

/*  */
/*  */
/*  */
/*  */
/* for display project */
.ProjectDisplay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80vw;
  padding: var(--PMGR-24px);
  gap: var(--PMGR-24px);
  background-color: #f9f5dc;
  border-radius: var(--PMGR-16px);
}

.ProDisP1 {
  width: 100%;
  height: 40vw;
  background-color: #8b4513;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--PMGR-16px);
  flex-direction: column;
  gap: var(--PMGR-16px);
}

.ProDisP1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ProDisP1Icon {
  width: 2vw !important;
  height: 2vw !important;
}

.placeholder-text {
  color: #ebc173;
  font-size: var(--font-24px);
}

.ProDisP2Wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ProDisP2 {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  max-width: 70vw;
  scrollbar-width: none;
  height: 10vw;
  padding: 0 var(--PMGR-12px);
}

.ProDisP2 img {
  width: var(--PMGR-128px);
  height: var(--PMGR-96px);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
  flex-shrink: 0;
  border-radius: var(--PMGR-16px);
}

.ProDisP2 img:hover {
  border-color: #8b4513;
  transform: scale(1.05);
}

.prev-btn,
.next-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--PMGR-24px);
}
.prev-btn img,
.next-btn img {
  width: 3.5vw;
}
.ar.next-btn img,
.ar.prev-btn img {
  rotate: 180deg;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90vw;
  max-height: 80vh;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.ProDisP2 img.active {
  border: 3px solid #653112;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
  .ProjectDisplay {
    width: 100vw;
    border-radius: none;
    background-color: transparent;
  }
  .ProS1P3 {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  }
  .ProDisP1 {
    height: 60vw;
  }
  .ProDisP2 {
    height: auto;
    padding: var(--PMGR-12px) var(--PMGR-16px);
    width: 90vw;
    max-width: 90vw;
    gap: var(--PMGR-16px);
  }
  .prev-btn,
  .next-btn {
    display: none;
  }
  .ProDisP2 img {
    width: 70vw;
    height: 60vw;
  }

  .prev-btn,
  .next-btn {
    height: 70px;
    font-size: 1.5rem;
  }

  .modal-prev,
  .modal-next {
    font-size: 2rem;
    padding: 8px;
  }
}

/* Modal arrows */
.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  color: white;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 1000;
}

.modal-prev {
  left: 1%;
}

.modal-next {
  right: 1%;
}

.flash-animate {
  animation: flashEffect 0.5s infinite;
}

@keyframes flashEffect {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/*  */
/*  */
/*  */
.ProDisP3,
.ProDisP4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--PMGR-16px);
}
.ProDisP3Title,
.ProDisP4Title {
  color: #653112;
  font-size: var(--font-32px);
}
.ProDisP3Desc {
  color: #653112;
  font-size: var(--font-20px);
  width: 65vw;
  text-transform: capitalize;
}
.ProDisP4Serv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--PMGR-16px);
}
.ProDisP4SC {
  position: relative;
}
.PDisP4SCImg {
  width: 6vw;
}
.PDisP4SCText {
  background-color: #653112;
  color: #ebc173;
  padding: var(--PMGR-8px) var(--PMGR-4px);
  border-radius: var(--PMGR-8px);
  text-transform: uppercase;
  font-size: var(--font-16px);
  width: 10vw;
  position: absolute;
  left: -2vw;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease-in;
}
.ProDisP4SC:hover .PDisP4SCText {
  opacity: 1;
}
@media (max-width: 768px) {
  .ProjectComponent {
    width: 70vw;
  }
  .ProComP1 img {
    width: 70vw;
    height: 60vw;
  }
  .ProComP2A img,
  .ProComP2AOther img {
    width: 4vw;
  }
  .ProS1P3Btn img {
    width: 2vw;
    height: 5vw;
  }
  .ProDisP4Serv {
    flex-direction: column;
    width: 100%;
    padding-top: var(--PMGR-16px);
    gap: var(--PMGR-8px);
  }

  .PDisP4SCText {
    position: relative;
    color: #653112;
    width: 100%;
    opacity: 1;
    background-color: transparent;
    text-align: center;
    left: 0;
  }
  .PDisP4SCImg {
    width: 15vw;
  }
  .ProDisP3Desc {
    width: 80vw;
    font-size: var(--font-16px);
    text-align: left;
  }
  .ProDisP1 {
    display: none;
  }
  .ProDisP3 {
    width: 100vw;
    background-color: #653112;
    padding: var(--PMGR-32px) var(--PMGR-48px);
    align-items: flex-start;
  }
  .ProDisP3Title,
  .ProDisP3Desc {
    color: #f9f6c8;
  }
  .ProDisP3Title {
    font-size: var(--font-24px);
  }
  .ProDisP3Desc {
    font-size: var(--font-14px);
  }
  .ProDisP4SC {
    width: 100vw;
    padding: var(--PMGR-16px);
  }
  .ProjectsDisContent {
    padding-bottom: 0;
  }
  .modal-prev {
    top: 35%;
    left: 40%;
  }

  .modal-next {
    top: auto;
    bottom: 12%;
    right: 40%;
  }
}
