* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

h1,
h2 {
  font-weight: 600;
}

h1 {
  font-size: 2.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 5rem;
    line-height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    padding-right: clamp(20rem, -62.601rem + 96.751vw, 53.5rem);
  }
}

@media (min-width: 1366px) {
  h1 {
    padding-right: clamp(20rem, -62.601rem + 96.751vw, 53.5rem);
  }
}

@media (min-width: 1920px) {
  h1 {
    margin-top: 3.25rem;
    padding-right: clamp(53rem, -10rem + 52.5vw, 74rem);
  }
}

h2 {
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 3.25rem;
    line-height: 4.125rem;
    padding-right: clamp(8.5rem, -6.269rem + 30.769vw, 20rem);
  }
}

@media (min-width: 1366px) {
  h2 {
    font-size: 3.25rem;
    line-height: 4.125rem;
    padding-right: clamp(20rem, -58.903rem + 92.419vw, 52rem);
  }
}

p {
  font-weight: 400;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  p {
    font-size: 2rem;
  }
}

a {
  color: white;
}

.hero-section {
  background-image: url(./src/img-1.jpg);
  background-position: 90%;
  text-transform: uppercase;
  height: 38rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
}

@media (min-width: 768px) {
  .hero-section {
    background-position: 0%;
    background-position-y: 31%;
    justify-content: space-between;
  }
}

@media (min-width: 1920px) {
  .hero-section {
    background-position-y: 40%;
  }
}

.hero-section,
.bg-section {
  color: white;
  width: auto;
  background-size: cover;
  padding-block: 2rem;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .hero-section,
  .bg-section {
    padding-inline: 2rem;
  }
}

.hero-section p {
  font-weight: 500;
  padding-right: clamp(2rem, -26.626rem + 91.603vw, 32rem);
  font-size: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-section p {
    padding-right: clamp(10rem, -8rem + 37.5vw, 16rem);
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-section p {
    padding-right: clamp(28rem, -31.429rem + 92.857vw, 80rem);
  }
}

@media (min-width: 1920px) {
  .hero-section h1,
  .hero-section p {
    padding-left: clamp(0rem, -58.5rem + 48.75vw, 19.5rem);
  }
}

.container {
  margin-inline: auto;
  max-width: 1920px;
}

.bg-section {
  background-size: cover;
  height: 32rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1366px) {
  .bg-section {
    height: 38rem;
  }
}

.double-section {
  display: block;
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .double-section {
    display: flex;
  }
}

.double-section > * {
  flex-basis: 50%;
}

.section-image {
  width: 100%;
  height: 30.125rem;
  background-size: cover;
}

.double-section p {
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .double-section p {
    padding-inline: 2rem 3rem;
  }
}

.double-section:first-child .section-image {
  background-position-x: 100%;
  height: 0;
}

@media (min-width: 768px) {
  .double-section:first-child .section-image {
    background-position-x: 100%;
    height: 30.125rem;
  }
}

.double-section:last-child {
  padding-block: 0;
}

@media (min-width: 768px) {
  .double-section:last-child {
    padding-block: 3rem;
  }
}

.double-section:last-child p {
  padding-right: 3.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .double-section:last-child p {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .double-section:last-child p {
    padding-right: 5rem;
  }
}

@media (min-width: 768px) {
  .img-1 {
    background-image: url(./src/img-2.jpg);
  }
}

.img-2 {
  background-image: url(./src/img-3.jpg);
  background-position-y: 77%;
}

.img-2 p {
  font-weight: 500;
}

.img-2 a {
  text-underline-offset: 0.5rem;
}

@media (min-width: 768px) {
  .img-2 a {
    text-underline-offset: 0.625rem;
  }
}

.img-4 {
  background-image: url(./src/img-5.jpg);
  background-position-x: 39%;
}

@media (min-width: 768px) {
  .img-4 {
    background-size: 126%;
    background-position: 0%;
  }
}

@media (min-width: 1024px) {
  .img-4 {
    background-size: 116%;
  }
}

@media (min-width: 1920px) {
  .img-4 {
    background-size: 121%;
    background-position-y: 91%;
  }
}

@media (min-width: 1920px) {
  .img-4 {
    background-size: auto;
    background-position-y: 36%;
    background-position-x: 43%;
  }
}

.img-4 p {
  font-weight: 500;
  max-width: clamp(31rem, 13rem + 37.5vw, 37rem);
}

@media (min-width: 1024px) {
  .img-4 p {
    max-width: clamp(38rem, 8.058rem + 46.784vw, 48rem);
  }
}

@media (min-width: 1366px) {
  .img-4 p {
    max-width: clamp(48rem, 15.946rem + 37.545vw, 61rem);
  }
}

.img-5 {
  background-image: url(./src/img-6.jpg);
}

.big-video {
  display: none;
}

@media (min-width: 1366px) {
  .big-video {
    display: block;
  }
  .small-video {
    display: none;
  }
}

.small-video video {
  width: 83%;
  height: auto;
  padding-left: 2rem;
  margin-block: 1.75rem 0.5rem;
}

@media (min-width: 1024px) {
  .small-video video {
    width: 72%;
  }
}

.big-video video {
  width: 100%;
  height: auto;
  padding-left: 2rem;
}

.video-section {
  flex-direction: column-reverse;
}

@media (min-width: 1366px) {
  .video-section {
    flex-direction: row;
  }
}

footer {
  background-color: black;
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  padding-block: 4rem 3rem;
}

@media (min-width: 768px) {
  footer {
    margin-top: 2.875rem;
  }
}

footer,
.contact-wrapper {
  display: flex;
  justify-content: center;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  font-weight: 600;
  transition-duration: 0.125s;
}

footer .services > a {
  padding-top: clamp(0rem, 1.298rem + -1.442vw, 0.375rem);
}

@media (max-width: 768px) {
  .special-margin {
    margin-top: 0.125rem !important;
  }
}

.footer-heading {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  padding-inline: 0 0.375rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-heading {
    font-size: 1.875rem;
  }
}

.companies {
  display: flex;
  flex-direction: column;
}

.services,
.contact {
  display: grid;
}

@media (min-width: 768px) {
  .services,
  .contact {
    grid-template-columns: 1fr 15.375rem;
  }
}

.services div {
  margin-top: clamp(0.875rem, 3.038rem + -2.404vw, 1.5rem);
}
