/* ====================== SECTION QUOTE ====================== */

.about-div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin: 0 40px;
  margin-top: 120px;
  align-items: start;
  transition: 0.3s ease;
}

.block-text {
  width: auto;
  text-align: left;
}

.block-text p{
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 55px;
  font-size: 50px;
  color: #222222;
}

.block-text-info {
  width: auto;
  text-align: left;
}

.block-text-info p{
  font-weight: 500;
  line-height: 26px;
  color: #222222;
}

p.grey-text {
  color: rgb(160, 160, 160)
}

@media (max-width: 768px) {
  .about-div {
    grid-template-columns: 1fr;
    margin: 0px 16px;
    margin-top: 124px;
    transition: 0.3s ease;
  }

  .block-text {
    order: 1;
    width: auto;
  }

  .block-text-info {
    order: 2;
  }

  .block-text p {
    font-size: 35px;
    line-height: 37px;
  }
  
}

/* ====================== SECTION SERVICES ====================== */


.service-item a {
  text-decoration: none;
  display: block;
  height: 100%;
}

.separator {
    border: 0;
    border-top: 1px solid #9c9c9c;
    margin: 0px 40px;
    margin-top: 140px;
}

.services-grid-title {
  margin: 0px 40px;
  margin-top: 20px;
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 44px;
  font-size: 40px;
  color: #222222;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 0 40px;
  margin-top: 40px;
  transition: grid-template-columns 0.5s ease;
}

.service-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.service-card {
  height: 32vw;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.label {
  margin-top: 12px;
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 28px;
  font-size: 28px;
  color: #222222;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .separator {
      margin: 0px 20px;
      margin-top: 140px;
  }
  .services-grid-title {
    font-size: 30px;
    margin: 0px 20px;
    margin-top: 20px;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
    margin: 0 16px;
    margin-top: 40px;
    gap: 35px;
  }

  .service-card {
    height: 55vw;
  }

  .label {
    font-size: 22px;
    line-height: 20px;
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .services-grid.hovered .label {
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .services-grid.hovered .service-item.active .label {
    opacity: 1;
  }
}



/* ====================== SECTION APROPOS ====================== */

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 100px;
  margin-top: 180px;
  height: auto;
  transition: grid-template-columns 0.5s ease;
}

.apropos-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.apropos-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.apropos-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.apropos-btn {
  display: inline-block;
  text-decoration: none;
}

.apropos-content h2{
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 36px;
  font-size: 40px;
  color: #222222;
}

.apropos-content p{
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;

  margin-top: 60px;
  font-weight: 350;
  line-height: 24px;
  font-size: 16px;
  color: rgb(160, 160, 160);
}

@media (max-width: 1000px) {
  .apropos-grid {
    grid-template-columns: 1fr;
    margin: 0 16px;
    margin-top: 180px;
    gap: 20px;
  }

  .apropos-image-wrapper {
    order: 2;
  }

  .apropos-title {
    order: 1;
  }

  .apropos-text {
    order: 3;
  }

  .apropos-btn {
    order: 4;
  }

  .apropos-content {
    display: contents;
  }

  .apropos-content p{
    margin-top: 0px;
    max-width: 700px;
  }

  .apropos-content h2{
    margin-bottom: 20px;
  }
}