:root {
  --heading-color: #0a2630;

  --text-color: #6e7c82;

  --accent-color: #c79a52;

  --border-color: #d3d3d3;
}

* {
  box-sizing: border-box;

  margin: 0;

  padding: 0;

  line-height: 1em;
}

body {
  font-family: Arial, sans-serif;
}

.page-wrapper {
  width: 100%;
  background-color: white;
  margin-bottom: 40px;
  overflow-x: hidden;
}

.custom-header-section {
  left: 5.5%;
}

.project-single-page {
  width: 89.58%;

  display: flex;

  flex-direction: column;

  gap: 32px;
  margin: auto;
}

.project-breadcrumb {
  font-size: 1.25rem;

  font-weight: bold;

  text-align: left;
}

.project-breadcrumb a {
  color: var(--heading-color);

  text-decoration: none;

  display: flex;

  align-items: center;

  gap: 8px;
}

.details-project-top {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

.project-title-div {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.project-title {
  font-size: 3rem;

  font-weight: bold;

  color: var(--heading-color);
}

.divider {
  width: 114px;

  height: 4px;

  background-color: var(--accent-color);

  border-radius: 10px;
}

.project-highlights {
  display: flex;

  flex-direction: column;

  gap: 32px;
}

.project-main-image {
  width: 100%;

  height: 472px;

  border: 1px solid var(--border-color);

  overflow: hidden;

  background: #ccc;

  border-radius: 16px;
}

.project-main-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.project-stats-row {
  display: flex;

  justify-content: space-evenly;

  align-items: center;

  height: 105px;
}

.stat-box {
  display: flex;

  gap: 12px;

  align-items: center;
}

.stat-value {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.stat-value h3 {
  font-size: 1.75rem;

  color: var(--heading-color);
}

.stat-icon {
  width: 24px;

  height: 24px;
}

.stat-label {
  font-weight: bold;

  font-size: 1.125rem;

  color: var(--text-color);
}

.overview-section {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

.section-heading,
.gallery-heading {
  color: var(--heading-color);

  font-size: 2.25rem;

  font-weight: bold;
}

.section-heading span,
.gallery-heading span {
  color: var(--accent-color);
}

.overview-section p {
  color: var(--text-color);

  font-size: 1.5rem;

  line-height: 1.48em;
}

.overview-text {
  color: var(--text-color);

  font-size: 12px;

  line-height: 1.6;

  max-width: 820px;
}

.section-divider {
  width: 626px;

  height: 1px;

  background: var(--border-color);

  margin: auto;
}

.gallery-section {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

.gallery-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.gallery-item {
  height: 350px;

  overflow: hidden;
}

.gallery-item img {
  width: 100%;

  height: 100%;

  max-width: 100%;

  object-fit: cover;

  border-radius: 8px;
}

@media (max-width: 1024px) {
  .project-single-page {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }
  .project-title {
    font-size: 2.7rem;
  }
  .project-main-image {
    height: 400px;
  }
  .gallery-item {
    height: 300px;
  }
  .section-heading,
  .gallery-heading {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 1rem;
  }
  .stat-value h3 {
    font-size: 1.5rem;
  }
  .overview-section p {
    font-size: 1.25rem;
  }
}
@media (max-width: 900px) {
  .project-stats-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .project-main-image {
    height: 300px;
  }
  .project-title {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.9rem;
  }
  .stat-value h3 {
    font-size: 1.25rem;
  }
  .gallery-item {
    height: 250px;
  }
  .section-heading,
  .gallery-heading {
    font-size: 1.5rem;
  }
  .overview-section p {
    font-size: 1rem;
  }
}
@media (max-width: 550px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .project-stats-row {
    justify-content: flex-start;
    height: unset;
    row-gap: 24px;
    column-gap: 20%;
  }
}
