html,
body {
  height: 100%;
  margin: 0;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.8em;
  color: #666;
}
.pimg1 {
  background-image: url(images/image1.png);
  min-height: 100%;
}
.pimg2 {
  background-image: url(images/image2.png);
  min-height: 400px;
}
.pimg3 {
  background-image: url(images/image3.png);
  min-height: 400px;
}
.pimg1,
.pimg2,
.pimg3 {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.ptext {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  color: black;
  font-size: 27px;
  letter-spacing: 8px;
  text-transform: uppercase;
}
.textBg {
  background: #313534;
  color: #fff;
  padding: 20px;
}

.section {
  padding: 50px 80px;
  text-align: center;
}
.section-light {
  background-color: #f4f4f4;
  color: #666;
}
.section-dark {
  background-color: #282e34;
  color: #ddd;
}

/* 📱 MOBILE DEVICES */
@media (max-width: 768px) {
  .pimg1,
  .pimg2,
  .pimg3 {
    background-attachment: scroll; /* FIX for mobile */
    min-height: 50vh;
  }

  .ptext {
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 0 10px;
  }

  .section {
    padding: 40px 20px;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section p {
    font-size: 0.95rem;
  }
}

/* 📱 VERY SMALL SCREENS */
@media (max-width: 480px) {
  .ptext {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .textBg {
    padding: 10px 15px;
  }
}