.intro {
  position: relative;
  min-height: 500px;
  background-image: url(../images/intro.jpg);
  background-size: cover;
  padding: 180px 30px 90px 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  >div {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: white;
    font-size: 22px;
    line-height: 30px;
    >img {
      width: 600px;
      height: 300px;
    }
  }

  >.intro-right-container {
    align-items: end;
    justify-content: center;
  }
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35); /* затемнення на 0.15 */
  z-index: 1;
}

.intro > * {
  position: relative;
  z-index: 2; /* щоб контент був поверх затемнення */
}

.intro-text-container {
  margin-top: 200px;
  width: 100%;
}

.intro-btn-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-top: 15px;
}

.intro-btn-1 {
  color: #d04b00;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Oswald', Arial, sans-serif;
  line-height: 1.15;
  font-weight: 400;
  border: 3px solid #d04b00;
  background-color: #d04c001c;
  padding: 0;
  width: 230px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px;
}

.intro-btn-1:hover {
   
  box-shadow: 0 6px 14px rgba(255, 94, 0, 0.5), 0 3px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.intro-btn-2 {
  text-decoration: none;
  color: white;
  background-color: #d04b00;
  font-size: 20px;
  font-family: 'Oswald', Arial, sans-serif;
  line-height: 1.15;
  font-weight: 400;
  border: 3px solid #d04b00;
  width: 230px;
  max-height: 60px;
  margin-left: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(208, 75, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.intro-btn-2:hover {
  background-color: #ff5e00;
  border-color: #ff5e00;
  box-shadow: 0 6px 14px rgba(255, 94, 0, 0.5), 0 3px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.intro-img2 {
  display: none;
}

@media (max-width: 960px) {
  
  .intro {
    background-position: center;
    >div {
      justify-content: center;
      align-items: center;
    }
  }

  .intro-text-container {
    text-align: center;
  }

  .intro-img2 {
    display: block;
    max-width: 80%;
  }

  .intro-img1 {
    display: none;
  }

  .intro {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 130px;
  }

  .intro-right-container {
    max-width: 500px;
  }

  .intro-text-container {
    margin-top: 100px;
  }
}

@media (max-width: 720px) {

  .intro {
    padding-top: 50px;
  }

  .intro-text-container {
    margin-top: 30px;
  }
  .intro-btn-container {
    margin-top: 55px;
    flex-direction: column;
    align-items: center;
  }

  .intro-btn-1 {
    display: none;
  }

  .intro-btn-2 {
    height: 30px;
  }
}
