* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #F7F9FB;
}

.project-content {
  display: flex;
  padding: 80px 16px 0 16px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.project-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 120px 24px;
  height: auto;
  background: linear-gradient(270deg, #E8F2F7 0%, #E3F2FD 100%);
  margin: 0 auto;
}

.back-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 40px;
  width: 100%;
}

.back-button {
  background: white;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 24px;
  border-radius: 100px;
  box-shadow: 2px 4px 10px 0px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: var(--blue-gray-900);
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 2px 6px 15px 0px rgba(0, 0, 0, 0.1);
}

.back-icon {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--blue-gray-900);
}

.main-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

@media screen and (max-width: 1080px) {
  .main-content {
    flex-direction: column;
  }
}

.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 0 40px 12px;
  min-height: 0;
  min-width: 0;
  max-width: 600px;
}

.project-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}

.project-title {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.25;
  color: var(--blue-gray-900);
  width: 100%
}

.badges-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
}

.badge {
  background: var(--blue-100);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--blue-50);
  color: var(--blue-gray-900);
}

.project-description {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.description-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--blue-gray-700);
  width: 100%;
}

.project-date {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  color: var(--blue-gray-600);
}

.project-image-container {
  width: fit-content;
  max-width: 100%;
  max-height: 600px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  border: 2px solid var(--blue-200);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
  width: fit-content;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.project-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  object-position: center;
}

.corner-square {
  position: absolute;
  background: #fdfdfd;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue-200);
}

.corner-top-left {
  top: -6px;
  left: -6px;
}

.corner-bottom-left {
  bottom: -6px;
  left: -6px;
}

.corner-bottom-right {
  bottom: -6px;
  right: -6px;
}

.corner-top-right {
  top: -6px;
  right: -6px;
}
