/* Dark Mode Professional Theme */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #d6dadfe3;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

.header.container {
  /* max-width: 1303px; */
  min-height: 8vh;
  width:97.1%;
  margin: 0 auto;
  padding: 0px 20px;
  transition: 0.3s ease background-color;
  background-color: #29323c ; 
}


.nav-bar {
  /* width:100%; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 10px;
}


.brand h1 {
  color: white;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 7.5px;
}
.brand a{
  text-decoration: none;
}
.brand h1 span {
  color: crimson;
}

/* Nav List Styling */
.nav-list ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-top: -5px;
}

.nav-list ul li {
  position: relative;
  text-decoration: none;
  list-style: none;
}
.nav-list ul li a{
  font-size: 1.7rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
  text-decoration: none;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-size: 26px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: crimson;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list ul {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }
}



/* Header Section */
.project_header {
  background: url(../assets/detail4/thumbnail.png) no-repeat;
  background-position:center;
  background-size:cover;
  border-radius: 12px;
  text-align: center;
  position: relative;
  width: 85%;
  height: 380px;
  margin: 20px auto;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.slogan {
  font-size: 2.4rem;
  font-weight: 800;
  color:crimson;
  -webkit-text-stroke: 0.3px ;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.4;
  padding-top: 40px;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.view-project-button {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: linear-gradient(45deg, crimson,crimson);
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-project-button:hover {
  background: linear-gradient(45deg, crimson,crimson);
  transform: translateX(-50%) scale(1.05);
}

/* Overview Section */
.p_overview_container {
  overflow-x: hidden;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(60deg,#29323c 0%, #485563 100%);
  width: 95%;
  margin: 50px auto;
  padding: 50px 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Left and Right Image Sections */
.p_leftItem, .p_rightItem {
  width: 48%;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px !important;
}
.video1{
  height: 200px;
}

.p_leftImage, .p_rightImage {
  width: 230px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.p_leftImage:hover, .p_rightImage:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.objective h5{
  color: crimson;
  font-size: 22px;
  border-bottom: 3px solid crimson;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}
.objective p{
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  line-height: 28px;
  color: #c4c4c4;
}
/* Center Content */
.p_centerItem {
  width: 48%;
  padding: 20px;
  padding-top: 35px;
}

.p_centerItem h5 {
  color: crimson;
  font-size: 22px;
  border-bottom: 3px solid crimson;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

.p_centerItem p {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  line-height: 28px;
  color: #c4c4c4;
}
.challenges h5{
  color: crimson;
  font-size: 22px;
  border-bottom: 3px solid crimson;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}
.challenges p{
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  line-height: 28px;
  color: #c4c4c4;
}
.deliverable h5{
  color: crimson;
  font-size: 22px;
  border-bottom: 3px solid crimson;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}
.deliverable p{
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  line-height: 28px;
  color: #c4c4c4;
}
.rightImage {
  width: 80%;
  height: auto;
  /* margin-top: 7.8rem; */
}
.rightImage img{
  width: -webkit-fill-available;
  height: auto;
}
.bottomImg {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  margin: -68px 0px;
  background:transparent;
  margin-bottom:40px;
  padding-bottom: 40px;
  
}
.bottomImg img {
  height: 70%;
  width: 70%;
}


/* Responsive Design */
@media screen and (max-width: 1200px) {
  .p_leftItem, .p_rightItem, .p_centerItem {
    width: 100%;
    padding: 20px 0;
  }

  .p_overview_container {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
  }

  .project_header {
    width: 95%;
    height: 300px;
  }

  .slogan {
    font-size: 2rem;
    padding-top: 30px;
  }

  .view-project-button {
    padding: 10px 20px;
    font-size: 16px;
  }

  .rightImage {
    width: 100%;
    margin-top: 3rem;
  }

  .bottomImg img {
    width: 90%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .project_header {
    height: 260px;
  }

  .slogan {
    font-size: 1.8rem;
    padding-top: 25px;
  }

  .view-project-button {
    padding: 10px 18px;
    font-size: 15px;
  }

  .p_overview_container {
    flex-direction: column;
    padding: 25px 10px;
  }

  .p_leftItem, .p_rightItem, .p_centerItem {
    width: 100%;
    padding: 15px 0;
  }

  .p_leftImage, .p_rightImage {
    width: 100%;
    max-width: 300px;
    align-self: center;
  }

  .rightImage img {
    width: 100%;
  }

  .video1 {
    width: 100%;
    height: auto;
  }

  .bottomImg {
    flex-direction: column;
    margin: 0;
    padding: 20px 0;
  }

  .bottomImg img {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .project_header {
    width: 95%;
    height: 220px;
  }

  .slogan {
    font-size: 1.6rem;
    padding-top: 20px;
  }

  .view-project-button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .p_overview_container {
    padding: 20px 10px;
  }

  .p_leftImage, .p_rightImage {
    max-width: 90%;
  }

  .p_centerItem h5,
  .objective h5,
  .challenges h5 {
    font-size: 20px;
  }

  .p_centerItem p,
  .objective p,
  .challenges p {
    font-size: 16px;
    line-height: 24px;
  }
}
