
.sectionp-container {
  position: relative;
  background: url("../images/sample.jpg") no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  overflow: hidden;
  background-attachment: scroll; 
}
.sectionp-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.sectionp-content {
  max-width: 550px;
}

.sectionp-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.sectionp-text {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  color: white;
}

.sectionp-btn {
  display: inline-block;
  background: #f99f4a;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.sectionp-btn:hover {
  background: #f99f4a;

  transform: scale(1.05);
}

@media (min-width: 992px) {
  .sectionp-container {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  .sectionp-container {
    height: 70vh;
    text-align: center;
    justify-content: center;
    padding: 0 20px;
    background-attachment: scroll;
  }

  .sectionp-overlay {
    padding-left: 0;
  }
  .sectionp-btn {
font-size: 14px;
  padding: 0.6rem 1.2rem;
}
  .sectionp-title {
    font-size: 2.8rem;
  }

  .sectionp-text {
    font-size: 1rem;
  }
}
@media (max-width: 568px) {
    .sectionp-title {
    font-size: 1.8rem;
  }

  .sectionp-text {
    font-size: 0.98rem;
  }
  .sectionp-btn {
font-size: 12px;
  padding: 0.5rem 1rem;
}
}