.project {
    width: 100%;
    background-color: #f8fbff;
    padding: 40px 0;
}
 
.project-container {
    max-width: 80%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.project-scheme-container{
    width: 50%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.project-scheme {
    width: 100%;
    height: 100%;
	  display: flex;
	  overflow: hidden;
}

.project-image{
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
  cursor: zoom-in;
	transition: transform 0.4s ease;
}

/* Масштаб при клике */
.project-scheme.zoomed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: zoom-out;
	border-radius: 0;
}

.project-scheme.zoomed img {
	width: auto;
	max-width: 90vw;
	max-height: 90vh;
	transform: scale(1);
  cursor: zoom-out;
}

.project-text{
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-download{
    display: inline-block;
    color: #007bff;
    font-weight: bold;
}

.project-download:hover {
    color: #000;
}




.project-card {
  width: 100%;
  height: 600px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.project-block {
  width: 100%;
  height: 20%;
  display: flex;
  align-items: center;
  gap: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    box-shadow: -5px -5px 9px rgba(255,255,255,0.45), 5px 5px 9px rgba(94,104,121,0.3);
}

.project-block-image{
  width: 60px;
  height: 60px;
  object-fit: cover;
  padding-left: 20px;
}

.project-block-title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 8px;
}

.project-block-subtitle {
    font-size: 20px;
    color: #555;
}

@media (min-width: 1440px) and (max-width: 2300px) {
  .project-container {
    max-width: 80%;
    gap: 20px;
    margin: 0 auto;
  }

  .project-scheme-container {
    width: 45%;
    gap: 30px;
  }

  .project-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }

  .project-text {
    font-size: 22px;
    line-height: 1.6;
  }

  .project-card {
    flex: 1;
    gap: 20px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .project-block {
    height: 25%;
    gap: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
  }

  .project-block-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .project-block-title {
    font-size: 20px;
    font-weight: 600;
  }

  .project-block-subtitle {
    font-size: 16px;
    color: #555;
  }
}

@media (max-width: 1440px){
  .project-container {
    max-width: 90%;
    gap: 20px;
    margin: 0 auto;
  }

  .project-scheme-container {
    width: 45%;
    gap: 30px;
  }

  .project-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }

  .project-text {
    font-size: 22px;
    line-height: 1.6;
  }

  .project-card {
    flex: 1;
    gap: 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .project-block {
    height: 25%;
    gap: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
  }

  .project-block-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .project-block-title {
    font-size: 16px;
    font-weight: 600;
  }

  .project-block-subtitle {
    font-size: 13px;
    color: #555;
  }
}



@media (max-width: 1024px) {
  .project {
    height: auto;
  }

  .project-container {
    gap: 30px;
  }

  .project-scheme-container {
    width: 100%;
  }

  .project-scheme{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
  }

  .project-image {
    width: 90%;
  }

  .project-text {
    font-size: 13px;
  }

  .project-block-title {
    font-size: 18px;
  }

  .project-card{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .project-block{
    width: 80%;
  }

  .project-block-subtitle {
    font-size: 15px;
  }
}

@media (max-width: 780px) and (min-width: 480px) {
  .project {
    width: 100%;
    height: auto;
  }

  .project-container {
    width: 100vh;
    flex-direction: column;
    align-items: center;
  }

  .project-scheme-container {
    height: 100%;
    width: 100%;
    gap: 16px;
  }

    .project-scheme{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
  }

  .project-block{
    width: 90%;
    height: 100px;
  }

  .project-image {
    width: 100%;
  }

  .project-text {
    font-size: 13px;
  }
  .project-card{
    width: 100%;
  }

  .project-block-image{
    width: 10%;
    height: auto;
    padding: 0;
    margin: 0;
  }

  .project-block-title {
    font-size: 16px;
  }

  .project-block-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 479px) and (min-width: 430px) {
  .project {
    height: auto;
    display: flex;
    justify-content: center;
  }

  .project-container{
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .project-container {
    flex-direction: column;
    gap: 20px;
  }

  .project-scheme{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
  }

  .project-scheme-container {
    width: 100%;
  }

  .project-card{
    width: 90%;
  }

  .project-image {
    width: 100%;
  }

  .project-text {
    font-size: 12px;
  }

  .project-block{
    width: 90%;
    height: 100px;
  }

  .project-block-image{
    width: 13%;
    height: auto;
  }

  .project-block-title {
    font-size: 16px;
  }

  .project-block-subtitle {
    font-size: 14px;
  }
}


@media (max-width: 430px){
  .project-scheme{
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
  }
  .project-image {
    width: 100%;
  }

  .project-card{
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
  }

  .project-block{
    width: 80%;
  }

  .project-block-image{
    width: 10%;
    height: auto;
    padding: 0;
    margin: 0;
  }

  .project-block-title {
    font-size: 16px;
  }

  .project-block-subtitle {
    font-size: 14px;
  }
}