:root {
  /*colors*/
  --mustard: #ffc82e;
  --dark-gray: #36424a;
  --light-gray: #a5acb0;
  --ultra-light-gray: #edeeef;
  /*font sizes*/
  --font-size-20-16: clamp(1rem, 0.912rem + 0.3756vw, 1.25rem);
  --font-size-16-16: clamp(1rem, 0.875rem + 0.1878vw, 1rem);
}

/* layout */

.wrapper-1178 {
  max-width: 1178px;
  margin: 0 auto;
}
.wrapper-1440 {
  max-width: 1440px;
  margin: 0 auto;
}
.wrapper-600 {
  max-width: 600px;
  margin: 0 auto;
}

header,
section {
  padding: 72px 28px;
}

header {
  background: var(--dark-gray);
  color: white;
  text-align: center;
}

header span {
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 4px;
  font-size: var(--font-size-20-16);
}

/* typography */

img {
  width: 100%;
  height: auto;
  display: block;
}

.logo {
  max-width: 212px;
}

@media (max-width: 600px) {
  .logo:not(footer .logo) {
    max-width: 160px;
  }
}

html {
  font-family: "Mulish", Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
  color: var(--dark-gray);
}

h1 {
  font-size: 42px;
  color: var(--mustard);
  font-weight: 600;
}

h2,
h3,
h4,
h5,
h6 {
  color: black;
}

h2 {
  font-size: 24px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03rem;
}

p {
  line-height: 1.75;
  font-size: var(--font-size-20-16);
}

nav,
footer {
  background-color: white;
  padding: 24px 28px;
}

@media (max-width: 600px) {
  footer {
    padding-top: 48px;
  }
}

nav .wrapper-1440 {
  display: flex;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  padding-left: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 600;
  text-transform: uppercase;
  /* padding: 20px 0; */
  display: inline-block;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: black;
}

#about {
  background: white;
  text-align: center;
}

#products {
  background: var(--ultra-light-gray);
}

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 42px;
  align-items: end;
}

.products-list .item:nth-child(1) {
  background: white;
  padding: 36px;
  text-align: center;
  border-bottom-width: 8px;
  border-bottom-style: solid;
  border-bottom-color: rgba(173, 23, 26, 1) 0%;
  border-image: linear-gradient(
      to right,
      rgba(173, 23, 26, 1) 0%,
      rgba(255, 255, 255, 1) 69%,
      rgba(0, 92, 169, 1) 100%
    )
    1;
}

.products-list .item:nth-child(1) p {
  font-size: var(--font-size-16-16);
}

/* usa-flag */
.products-list .item:nth-child(1) img {
  max-width: 108px;
  display: block;
  margin: 0 auto;
}

#industries {
  background: var(--dark-gray);
}

#industries h2,
#industries h3 {
  color: white;
}

#industries h2 {
  text-align: center;
}

.industries-list {
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin: 48px auto;
}
.industries-list .item img {
  max-width: 87px;
  height: auto;
  padding-top: 16px;
}

.industries-list .item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-direction: row;
}

.industries-list .item p {
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
}

@media (max-width: 600px) {
  .industries-list {
    grid-template-columns: 1fr;
  }
  .industries-list .item {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }
}

#services {
  background: white;
}

#services h2 {
  text-align: center;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 42px;
  margin: 48px auto;
}

.services-list .card {
  border: solid 1px var(--light-gray);
}

.services-list .card .text {
  padding: 24px;
}

.services-list .card .text p {
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
}

/* elements */

.btn {
  display: inline-block;
  background-color: var(--mustard);
  color: var(--dark-gray);
  font-weight: 500;
  font-size: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center !important;
  padding: 18px 36px;
  border-radius: 50px;
  letter-spacing: 0.06rem;
  cursor: pointer;
  width: 100%;
  max-width: fit-content;
  margin: 0 auto;
  display: block;
}
.point-icon {
  max-width: 26px;
  height: auto;
  /* display: block; */
  border-right: 1px solid var(--light-gray);
  padding-right: 20px;
}

footer p {
  font-size: 16px;
}

.logo-and-tagline {
  display: flex;
  align-items: flex-start;
  gap: 42px;
}

@media (max-width: 600px) {
  .logo-and-tagline {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin: auto;
  }
  .copyright {
    text-align: center;
    width: 100%;
    margin-top: 12px;
  }
}

footer .wrapper-1440 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

#benefits {
  background: white;
  border-top: solid 1px var(--light-gray);
  position: relative;
}

.accent {
  max-width: 346px;
  position: absolute;
  right: 0;
  top: 0;
}

#benefits h2,
#benefits p {
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 48px;
}

@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

ul.benefits-list {
  font-size: 16px;
  line-height: 1.75;
  list-style: none;
  padding: 0;
  margin: 0;
  /* align-content: center; */
}

ul.benefits-list li {
  display: block;
  margin-bottom: 24px;
}

ul.benefits-list li:last-child {
  margin-bottom: 0;
}

#contact {
  background: var(--ultra-light-gray);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

#contact h2,
#contact p {
  text-align: center;
}

address {
  font-style: normal;
  line-height: 1.5;
  font-size: var(--font-size-16-16);
}

.address-card {
  border: 1px solid var(--light-gray);
  background: white;
  max-width: 434px;
  margin: 24px auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 22px;
  border-radius: 10px;
  box-shadow: 0px 0.5px 2px rgba(0, 0, 0, 0.2);
}

/* form */

input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  padding: 18px 16px;
  border: 1px solid var(--light-gray);
  font-size: var(--font-size-16-16);
  font-family: "Mulish", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: 1px solid var(--dark-gray);
}

input[type="checkbox"] {
  width: auto;
  margin-right: 12px;
  accent-color: var(--mustard);
  width: 20px;
  height: 20px;
  vertical-align: bottom;
  cursor: pointer;
}

label {
  font-size: var(--font-size-16-16);
  font-weight: 600;
}

textarea {
  min-height: 196px;
  resize: vertical;
}

form .two-col {
  gap: 32px;
  margin-top: 32px;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

fieldset.two-col {
  display: grid;
  grid-template-columns: 180px 180px;
  gap: 16px 0px;
  margin-top: 0;
  height: min-content;
}

@media (max-width: 1080px) {
  fieldset.two-col {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }
}

legend {
  font-size: var(--font-size-16-16);
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
}

/* mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 28px;
  height: 2px;
  background-color: var(--dark-gray);
}

.hamburger .bar:first-child {
  margin-bottom: 6px;
}

.hamburger .bar:last-child {
  margin-top: 6px;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
    justify-content: center;
  }
}

.hamburger.toggle .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle .bar:first-child {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.toggle .bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links.active {
  display: block !important;
  position: absolute;
  top: 105px;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid var(--light-gray);
  z-index: 99;
}

@media (max-width: 600px) {
  .nav-links.active {
    top: 90px;
  }
}

.nav-links.active li {
  text-align: center;
  padding: 28px 0;
}

.ty-msg {
  text-align: center;
  margin-top: 24px;
  background: white;
  padding: 28px;
  max-width: 600px;
  margin: auto;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("../images/icons/drop.svg") no-repeat right 16px center;
  background-size: 12px;
  background-color: white;
}
