/* colours

#dfe5f3
#557373
#272401
#f2efea
#0d0d0d
 */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #272401;
  overflow-x: hidden;
  font-size: 2.4rem;
  background-color: #f2efea;
}
.name {
  text-transform: uppercase;
}
.navbar {
  padding: 0;
  background-color: #f2efea;
}
.logo-header {
  width: 13rem;
  height: 12rem;
}
.nav-item {
  font-size: 2.4rem;
  margin-right: 6rem;
  padding: 0;
}
.hero-section {
  height: 80vh;

  background-image: linear-gradient(
      to right,
      rgb(13, 13, 13),
      rgba(13, 13, 13, 0.493)
    ),
    url(imgs/photo1.jpg);
  background-size: cover;
  clear: initial;
}
.heading-primary {
  padding: 2rem 4rem;
}
.hero-text {
  color: #f2efea;
  line-height: 1.6;
  padding: 4rem;
  letter-spacing: 0.4px;
}
h1 {
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  font-size: 3.2rem;
  padding-top: 4rem;
  margin-bottom: 0;
}

.btn-hero {
  background-color: #557373;
  margin-left: 4rem;
}
.intro {
  padding: 4.6rem 4.6rem 9.6rem 4.6rem;
}

.secondary-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #35bd79;
  padding-top: 9rem;
  margin-bottom: 9rem;
}
.color-header {
  margin-bottom: 0;
}
.title {
  font-size: 2.8rem;
  text-align: center;
  letter-spacing: 0;
  color: #333333;
  margin: 3rem;
}
.intro-text {
  margin: 0 8rem;
  color: #333333;
}
.card-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  grid-gap: 20px; /* Adjust the gap between cards */
}

.card {
  margin: 5rem;
  background-color: white;
  border-color: white;
  box-shadow: 5px 5px 5px #96b1b121;
}

.icons {
  width: 2rem;
  height: 2rem;
  color: #35bd79;
  padding: 1rem;
}
.infobold {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
p {
  font-size: 1.8rem;
}
.illustration {
  background-color: #557373;
}
.img {
  margin-left: 20rem;
  margin-bottom: 3rem;
}
.illustration-text {
  color: #dfe5f3;
  padding: 5rem;
  font-size: 2.4rem;
}

.web-header {
  margin-top: 7rem;
  margin-bottom: 5rem;
}

.weblinks {
  font-size: 1.5rem;
  margin: 1.5rem;
  text-align: center;
}
.contactpara {
  padding: 0;
  margin: 5rem;
  color: #333333;
}

/* FORM */

.cta-form {
  /* padding: 0 4.6rem 9.6rem 4.6rem; */
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-gap: 20px;
  column-gap: 2rem;
  row-gap: 2.4rem;
  margin-bottom: 4rem;
}
.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  border: none;
  color: inherit;
  background-color: #dfe5f3;
  border-radius: 9px;
  box-shadow: rgba(0, 0, 0, 0.01);
}
.cta-form input::placeholder {
  color: #272401;
}
.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}
.message {
  background-color: #dfe5f3;
  padding: 1rem 2rem;
  border-radius: 9px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.01);
  font-size: 1.8rem;
}
.btn {
  display: inline-block;
  font-size: 2rem;
  color: #f2efea;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  text-decoration: none;
  font-family: inherit;
}
.btn--form {
  background-color: #557373;
  color: #f2efea;
  align-self: center;
  padding: 1.2rem;
  border-radius: 9px;
}
.btn--form:hover,
.btn--form:active,
.btn--form:visited {
  background-color: #dfe5f3;
}

/* FOOTER */
.footer {
  padding: 2rem 0;
  border-top: 1px solid #35bd79;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}
.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-logo {
  /* display: block; */
  margin-bottom: 3.2rem;
}
.logo {
  height: 19rem;
  width: 19rem;
}
.logo-col {
  margin-bottom: 2rem;
}

.footer-link:link,
.footer-link:visited {
  /* text-decoration: none; */
  font-size: 1.6rem;
  color: #333333;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #76767676;
  margin-top: 0;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333333;
}

.address-col {
  margin-top: 3.4rem;
  list-style-type: none;
}
