/* Hero banner */
section.banner {
  background:
    url("../../assets/images/nationwide/nationwide-bg.png") bottom / cover
      no-repeat,
    #d70527;
  position: relative;
  min-height: 797px;
}

section.banner h1 {
  font-size: 64px;
  letter-spacing: -0.96px;
  line-height: 120%;
  margin-bottom: 32px;
}

section.banner .cta-btn {
  margin-top: 32px;
}

section.banner .content *,
section.banner .info * {
  color: #fff;
}

section.banner .content {
  max-width: 900px;
}

section.banner .content p {
  font-size: 18px;
  line-height: 29.3px;
}

section.banner .info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 45px 64px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

section.banner .info span {
  display: block;
  height: 76.5;
  width: 1px;
  background: #fff;
  opacity: 0.3;
}

section.banner .summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

section.banner .summary p {
  font-size: 20px;
  max-width: 220px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

@media (max-width: 1199px) {
  section.banner .info {
    padding-left: 30px;
    padding-right: 30px;
  }
  section.banner .info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  section.banner .summary {
    width: calc(50% - 15px);
    box-sizing: border-box;
  }

  section.banner .info span {
    display: none;
  }
  section.banner .summary p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  section.banner .info {
    padding: 30px 20px;
    gap: 16px;
  }

  section.banner .content {
    margin-bottom: 157px;
  }

  section.banner .summary p {
    font-size: 16px;
  }
  section.banner .summary img {
    width: 40px;
  }
}

@media (max-width: 575px) {
  section.banner .cta-btn a {
    width: 100%;
  }

  section.banner .content {
    margin-bottom: 270px;
  }

  section.banner .summary {
    width: 100%;
  }
}

/* Supply Coverage */
.coverage .d-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.coverage h2 {
  margin-bottom: 56px;
  position: relative;
}

.coverage h2::before {
  content: "";
  background: #d20928;
  width: 80px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -28px;
}
.coverage .content img {
  margin-bottom: 28px;
}

.coverage .content {
  max-width: 750px;
}

.coverage .content p {
  color: #000;
  font-weight: 400;
}

@media (max-width: 991px) {
  .coverage .d-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Key Locations */
.locations {
  background:
    url("../../assets/images/nationwide/location-bg.png") bottom / cover
      no-repeat,
    #d70527;
  min-height: 786px;
  display: flex;
}

.locations .wrapper {
  display: flex;
  width: 100%;
  align-items: center;
}
.locations h2 {
  color: #fff;
  text-align: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
}

.location-card {
  background: #f9f9f9;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-card h3 {
  color: #d70527;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.location-group .title {
  color: #5d3f3d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 16px 0;
}

.location-group .title.address {
  margin: 0 0 7px;
}

.location-group p {
  color: #222;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.location-line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(217, 0, 34, 0.25);
}

.location-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-group li {
  color: #1a1c1c;
  font-size: 16px;
  line-height: 140%;
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1199px) {
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Nationwide Supply */
.supply {
  background: url("../../assets/images/nationwide/supply-bg.jpg") bottom / cover
    no-repeat;
}
.supply h2 {
  margin-bottom: 56px;
  position: relative;
}

.supply h2::before {
  content: "";
  background: #d20928;
  width: 80px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -28px;
}
.supply .content {
  max-width: 582px;
}
.supply .content p {
  color: #000;
  margin-bottom: 28px;
  line-height: 150%;
}

.supply .content ul {
  margin-bottom: 28px;
}

.supply .content li {
  color: #000;
  line-height: 150%;
}

@media (max-width: 1699px) {
  .supply {
    background:
      linear-gradient(
        to right,
        #fff 0%,
        rgba(255, 255, 255, 0.9) 20%,
        transparent 100%
      ),
      url("../../assets/images/nationwide/supply-bg.jpg") bottom / cover
        no-repeat;
  }
}

@media (max-width: 1699px) {
}

/* Our Services */
section.services {
  background: #f5f5f5;
}
section.services .header {
  margin-bottom: 48px;
}

section.services .d-grid.cards {
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

section.services .d-grid.cards img {
  height: 100%;
  object-fit: cover;
  object-position: left;
}

section.services .d-grid.services {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, auto);
  column-gap: 30px;
}

section.services .d-grid.services a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

section.services .d-grid.services h3 {
  font-weight: 700;
  color: #191c1e;
  font-size: 18px;
  margin-bottom: 0;
}

section.services .d-grid.services a:hover path {
  stroke: #a1102b;
}

section.services a.btn-red {
  margin-top: 24px;
}
@media (max-width: 1199px) {
  section.services .d-grid.cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  section.services .header {
    margin-bottom: 30px;
  }

  section.services .d-grid.services {
    grid-template-columns: 1fr;
  }
}

/* Project */
section.project {
  background: #f5f5f5;
}
section.project .content {
  background: url("../../assets/images/nationwide/image-68.png") right / cover
    no-repeat;
  border-radius: 12px;
  padding: 64px;
}

section.project h2 {
  font-size: 64px;
  margin-bottom: 0;
}

section.project .text-content {
  max-width: 690px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

section.project .text-content *:not(.btn-yellow) {
  color: #fff;
}

section.project .cta-btn {
  display: flex;
  gap: 32px;
}

@media (max-width: 1599px) {
  section.project .content {
    background-image:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.1) 100%
      ),
      url("../../assets/images/nationwide/image-68.png");
  }
}

@media (max-width: 991px) {
  section.project .content {
    background-image:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.3) 100%
      ),
      url("../../assets/images/nationwide/image-68.png");
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 575px) {
  section.project .cta-btn {
    flex-direction: column;
    gap: 16px;
  }

  section.project .cta-btn a {
    width: 100%;
  }
}
