/* Keep the existing photographs, with a predictable contrast behind text. */
section.about-us,
section.our-work,
section.testimonials {
  background-color: #ded8cf;
  background-blend-mode: screen;
  background-size: cover;
  color: #252525;
}

section.gallery,
section.pricing-table,
section.footer {
  background-color: #555;
  background-blend-mode: multiply;
  background-size: cover;
  color: #fff;
}

.navbar-default {
  background-color: rgba(25, 29, 32, 0.95);
}

section.about-us .about-details {
  padding: clamp(18px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  text-align: left;
}

section.about-us .about-details p,
section.testimonials p.test1,
section.pricing-table .para p,
section.footer .footer-about p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75 !important;
  text-align: left;
  overflow-wrap: break-word;
  hyphens: auto;
}

section.about-us .about-details h3 {
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.35;
}

section.about-us .logo {
  width: 100px;
  height: auto;
  margin: 0 18px 12px 0;
}

section.about-us .grid li {
  min-width: 0;
  max-width: 100%;
}

section.our-work h3.text-center,
section.our-work p.text-center {
  color: #85270f;
}

section.gallery > p.text-center,
section.our-work > p.text-center,
section.testimonials > p.text-center,
section.pricing-table > p.text-center {
  max-width: 70ch;
  margin: 0 auto;
  padding: 16px 20px 32px;
  line-height: 1.65 !important;
}

section.pricing-table > h3,
section.pricing-table > p {
  color: #fff;
}

section.pricing-table > .container:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

section.pricing-table > .container:last-child::before,
section.pricing-table > .container:last-child::after {
  display: none;
}

section.pricing-table .grid1,
section.pricing-table .grid2,
section.pricing-table .grid3 {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  background: rgba(22, 27, 30, 0.94);
  border-radius: 8px;
  overflow: hidden;
}

section.pricing-table .grid1:hover,
section.pricing-table .grid2:hover,
section.pricing-table .grid3:hover {
  transform: none;
}

section.pricing-table .grid1 > span,
section.pricing-table .grid2 > span,
section.pricing-table .grid3 > span {
  position: static;
  display: block;
  height: auto;
  padding: 22px 16px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.2;
  background: #202a30;
}

section.pricing-table .clear {
  display: none;
}

section.footer .footer-about {
  max-width: 75ch;
  margin: 0 auto;
  text-align: left;
  overflow-wrap: anywhere;
}

section.footer .footer-about h3 {
  padding: 30px 0 16px;
  line-height: 1.4;
}

section.footer .footer-about h4,
section.footer .footer-about h5 {
  line-height: 1.65;
}

section.footer .footer-about a {
  color: #ffd09c;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

/* Content remains readable if scripts or scroll animations cannot run. */
.slideanim {
  visibility: visible;
}

@media (max-width: 767px) {
  section.pricing-table > .container:last-child {
    grid-template-columns: 1fr;
  }

  section.about-us,
  section.our-work,
  section.gallery,
  section.testimonials,
  section.pricing-table,
  section.footer {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slideanim,
  .slide {
    animation: none;
  }
}
