@import url('https://fonts.googleapis.com/css2?family=Open+Sans&Poppins:wght@400;700;900&display=swap');

:root {
  /* Colors */
  --green-color: #368527;
  --darkgreen-color: #328640;
  --yellow-color: #d2b829;
  --dark-color: #141414;
  --grey-color: #333333;
  --darkgrey-color: #2f2f2f;
  --lightgrey-color: #a7a3a3;

  /* Gradient */
  --green-to-yellow-gradient: linear-gradient(
    42deg,
    var(--green-color) 25%,
    /* adjusted green portion */ var(--yellow-color) 75%
  );

  /* Spacing variables */
  --space-small: 30px;
  --space-medium: 50px;
  --space-large: 100px;
}

/* HIDE scrollbar but allow scrolling */
body {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}

body::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

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

body {
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--grey-color);
  line-height: 24px;
}

p ~ p {
  margin-top: 35px;
}

#webdesign .card-2col p ~ p {
  margin-top: 0;
}

section {
  padding: 100px 180px;
}
header {
  padding: 20px 215px;
}

footer {
  color: var(--lightgrey-color) !important;
  background: var(--darkgrey-color);
}

footer span {
  display: block;
  text-transform: uppercase;
}

/* Styling footer copyright */
footer > span:last-of-type {
  background: var(--dark-color);
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  padding: 50px 0;
}

footer a {
  color: var(--lightgrey-color);
}

footer img {
  width: 80px;
  height: auto;
  margin: 0 auto;
}

footer ul li {
  font-size: 15px;
}

footer span {
  font-size: 15px;
}

footer section {
  padding: 65px 0;
}

/* design helper classes */
.half-width {
  width: 50%;
  padding: 0 var(--space-large); /*EDITED: removed padding top, bottom */
}
.two-thirds-width {
  width: 67%;
}

/* EDITED: increased width for banner */
#banner .two-thirds-width {
  width: 75%;
}

.container-center {
  margin: auto;
}

.gridcol {
  display: grid;
  gap: var(--space-small);
  list-style: none;
}

.col-two {
  grid-template-columns: repeat(2, 1fr);
}
.col-three {
  grid-template-columns: repeat(3, 1fr);
}
.col-four {
  grid-template-columns: repeat(4, 1fr);
}

.reverse {
  grid-auto-flow: dense;
  /* direction: rtl; */
  text-align: left;
}

.subtitle {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 20px;
  padding: var(--space-small) 0;
  color: var(--green-color);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 50px;
}

.section-title span {
  display: block;
  color: var(--green-color);
  line-height: 3rem;
}

.button.button-cta {
  background: var(--green-to-yellow-gradient);
  color: #ffffff !important;
  font-weight: bold;
  border: none;
}

.button.button-cta {
  text-align: left;
}

.button-cta a {
  color: #ffffff;
  font-weight: bold;
}

/* HAMBURGER MENU */
button.toggle {
  background: url('/assets/images/icons/bars-solid.svg') no-repeat center center,
    rgba(16, 59, 7, 0.3);
  filter: invert(1);
  position: fixed;
  top: 20px;
  right: 0px;
  width: 50px;
  height: 30px;
  border: 0;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
}

.hidden-on-large {
  display: none;
}

button.close-btn {
  padding: 15px;
  font-size: 20px;
  color: #ffffff;
  background: var(--green-color);
  border: none;
  opacity: 0.8;
}

.green-label {
  color: var(--green-color);
  font-size: 60px;
  margin-bottom: 50px;
}

/* For dark background sections */
.dark-bg {
  background: rgba(30, 30, 30, 0.95);
  color: #ffffff;
}

.dark-bg p {
  color: #ababab;
}

.grey-bg {
  background: rgba(247, 247, 247, 0.95);
}

/* Cards */
.card span,
.grey-card span {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
}

.card img {
  width: 100%;
  /* height: 250px; */
  object-fit: cover;
  margin-bottom: 40px;
}

.grey-card {
  background: #f7f7f7;
  text-align: center;
  padding: 50px;
}

.grey-card span {
  font-size: 18px;
}

.grey-card .icon {
  width: 65px;
  height: 65px;
  margin-bottom: 30px !important;
  display: block;
  margin: auto;
}

.card p,
.grey-card p {
  margin-top: 30px;
}

.green-cards .grey-card {
  background: var(--darkgreen-color);
  color: #ffffff;
}
.green-cards p {
  color: #ffffff;
  padding: 0;
}

/* For 3-column feature sections */
.feat-section-3col .subtitle {
  grid-column: 1 / 4;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  text-transform: uppercase;
  padding: 0;
}
.feat-section-3col h2 {
  font-size: 34px;
  line-height: 37px;
  text-transform: none;
}
.feat-section-3col h3 {
  text-transform: uppercase;
  margin-bottom: 30px;
  margin-top: 10px;
}
.feat-section-3col .feature-content {
  padding: 0;
  margin-right: 10px;
}
.inner-page .feature-content {
  margin-right: 0;
}
#marketing .reverse.col-two .feature-content {
  padding: 100px 40px 100px 5px;
}

/* ELEMENTS */
h1,
h2 {
  font-weight: bolder;
  text-transform: uppercase;
  margin-bottom: var(--space-small);
}

h1 {
  font-size: 3rem;
  line-height: 3.5rem;
  /* padding-top: var(--space-large); */
}

h1 small {
  display: block;
  font-size: 1.25rem;
  line-height: 1.25rem;
  text-transform: none;
  margin-top: 20px /* EDITED: decreased margin */;
}

h2 {
  font-size: 34px;
}

.button {
  display: inline-block;
  padding: 16px 40px;
  text-transform: uppercase;
  background: #ffffff;
  color: var(--grey-color);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: bold;
  margin: 30px 0;
  cursor: pointer !important;
}

#banner .button {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
}

form input,
form textarea {
  display: block;
  width: 100%;
  padding: 1rem 1rem;
  border: none;
  border-bottom: 1px solid #b3b3b3;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #8f8f8f;
  font-weight: 600;
  margin-bottom: 1rem;
}

form input:focus,
form textarea:focus {
  outline: none;
}

form textarea {
  resize: none;
}

address {
  font-style: normal;
}

/* SPECIFIC SECTIONS */

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  text-align: right;
  align-items: center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}

header img {
  width: 75px;
  height: auto;
}

nav ul,
footer ul {
  list-style: none;
  font-weight: bold;
  font-size: 14px;
  line-height: 23px;
  text-transform: uppercase;
}

nav ul li {
  display: inline-block;
}

nav ul li > a {
  padding: 0 20px;
  color: #ffffff;
}

/* BANNER */
#banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  /* height: 80vh; EDITED: removed */
  color: #ffffff;
}

#home .banner-img {
  background: url('/assets/images/images/home-bg-with-overlay.jpg') no-repeat center
    center / cover;
}

#marketing .banner-img {
  background: url('/assets/images/images/marketing-bg-with-overlay.jpg') center
    center / cover;
}
#webdesign .banner-img {
  background: url('/assets/images/images/webdesign-bg-with-overlay.jpg') center
    center / cover;
}
#contact-page .banner-img {
  background: url('/assets/images/images/contact-bg-with-overlay.jpg') center center /
    cover;
}
#careers .banner-img {
  background: url('/assets/images/images/career-bg-with-overlay.jpg') center center /
    cover;
}

.banner-img {
  width: 100%;
  color: #ffffff;
  position: absolute;
  top: 0;
  z-index: -1;
}

/* EDITED: adjusted banner height */
.banner-img,
#banner {
  height: 68vh;
}

#home .banner-img,
#home #banner {
  height: 75vh;
}

/* EDITED: added padding top with height comparable to header */
#banner .banner-img + .container-center {
  padding-top: 60px;
}

#banner p {
  font-size: 18px;
  line-height: 32px;
  color: #ffffff;
}

.inner-page #banner h1 {
  text-transform: none;
  margin-bottom: 20px;
}
.inner-page #banner h1 small {
  font-size: 18px;
  font-weight: normal;
}
.inner-page #banner .button {
  color: var(--darkgreen-color);
}

.gridcol.col-two {
  padding: var(--space-large) 180px 0 180px;
  row-gap: 50px;
}

section.gridcol img {
  object-fit: cover;
}

.feature-content {
  padding: 0 0 0 35px;
}

.feature-content.reverse h2 {
  padding-right: 60px;
}

.feature-content h2,
.contact h2 {
  text-transform: none;
  line-height: 37px;
}
.feature-content.reverse {
  padding: 0px 35px 0 0;
}

/* Section: SEO MARKETING */
#seo-marketing {
  background: url('/assets/images/images/photo-of-people-sitting-beside-table-3182755.jpg')
    center bottom / cover;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

#seo-marketing::before {
  content: '';
  background: #1e1e1e;
  filter: brightness(50%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  mix-blend-mode: hard-light;
}

#seo-marketing .card p {
  color: #ababab;
}

/* EDITED: made letter spacing narrower */
#seo-marketing .card p,
#web-design .card p {
  letter-spacing: -0.35px;
}

/* Section: WEB DESIGN */
#web-design {
  background: url('/assets/images/images/apple-computer-desk-devices-326501.jpg')
    center center / cover;
  position: relative;
  z-index: 1;
}

#web-design::before {
  content: '';
  background: #f7f7f7;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  mix-blend-mode: hard-light;
}

/* Section: CONTACT */
section.contact.gridcol.col-two {
  padding: 100px 180px;
}

.contact div {
  padding-right: 60px;
}
#home .contact div h2 {
  width: 50%;
}
.inner-page .subtitle {
  padding-top: 0;
}

/* EDITED: added  padding-right to homepage section contact p */
#home .contact p {
  padding-right: 15px;
}

form {
  padding-top: 100px;
}

.contact-links {
  margin-top: 50px;
  list-style: none;
}

.contact-links li {
  display: flex;
  align-items: center;
}

.contact-links a {
  display: block;
  color: #333333;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.phone-contact::before {
  content: '';
  background: url('/assets/images/icons/phone-solid.svg') no-repeat;
  opacity: 0.3;
  width: 20px;
  height: 20px;
  float: left;
  margin: 0px 20px 0 0;
}
.email-contact::before {
  content: '';
  background: url('/assets/images/icons/envelope-solid.svg') no-repeat;
  opacity: 0.3;
  width: 20px;
  height: 20px;
  float: left;
  margin: 0px 20px 0 0;
}
.address-contact::before {
  content: '';
  background: url('/assets/images/icons/map-marker-alt-solid.svg') no-repeat;
  opacity: 0.5;
  width: 20px;
  height: 20px;
  float: left;
  margin: 0px 20px 0 0;
}

/* Footer */

footer .gridcol.col-four {
  gap: var(--space-medium);
}

.nav-links {
  width: 250px;
}
.nav-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

footer .nav-links + address {
  padding-left: 20px;
}

/* EDITED: changed the selector for footer address span */
footer span {
  font-weight: bold;
  text-align: left;
  background: none;
  padding: 0 0 15px 0;
}

footer address {
  font-size: 14px;
}

/* PAGE: HOME */

/* EDITED: changed left and right padding of last cards */
.grey-cards .grey-card:last-of-type {
  padding: 50px 37px;
}

/* PAGE: MARKETING */
#marketing .feat-section-3col :nth-child(2) {
  grid-row: 2 / 4;
}
#marketing .contact-links {
  padding: 0;
}
.inner-page .address-contact {
  opacity: 1;
}

/* PAGE: WEBDESIGN */
#webdesign .dark-bg {
  position: relative;
  text-align: center;
}

#webdesign .feat-section-3col.col-three .subtitle {
  padding-bottom: 0;
}
#webdesign .dark-bg p {
  color: #ffffff;
  margin: auto;
  width: 90%;
}
#webdesign .dark-bg::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url('/assets/images/images/photo-of-people-sitting-beside-table-3182755.jpg')
    center center / cover;
  position: absolute;
  top: 0%;
  left: 0%;
  z-index: -1;
}
#webdesign .dark-bg ~ .feat-section-3col h2 {
  text-align: center;
}
#webdesign a.subtitle {
  font-weight: bold;
  padding: 15px 0 30px;
}

#webdesign .dark-bg .subtitle,
#webdesign .grey-bg .subtitle {
  padding-bottom: var(--space-small);
}

#webdesign .card-2row {
  grid-row: 2 / 4;
}
#webdesign .card-2col {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-small);
}
#webdesign .card-2col h3 {
  grid-column: 1/4;
  margin-bottom: 10px;
}

/* PAGE: CAREERS */
#careers section.grey-bg {
  padding-bottom: 150px;
}
#careers section h2 {
  text-align: center;
  text-transform: none;
}

#careers .col-four h3 {
  text-transform: uppercase;
  padding-bottom: 30px;
  width: 80%;
}
#careers .col-four div:nth-last-of-type(1) h3 {
  width: 50%;
}

#careers .contact {
  text-align: center;
}
#careers .contact-links {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}
#careers .feature-content {
  position: relative;
  padding: 0 0 30px 0;
}

#careers .button.button-cta {
  position: absolute;
  top: 100%;
  margin-top: 0;
  padding: 15px 35px !important;
}

#careers .map {
  width: 80%;
}

@media (max-width: 1440px) {
  section {
    padding: 100px 180px;
  }

  #banner .half-width {
    width: 55%;
    padding: 0;
  }

  #banner p {
    width: 50%;
  }

  .inner-page #banner p {
    width: 75%;
  }

  .contact div h2 {
    width: 100%;
  }
  #home .contact div h2 {
    width: 55%;
  }
}

@media (max-width: 1133px) {
  section,
  .gridcol.col-two,
  section.contact.gridcol.col-two {
    padding: var(--space-medium) 7.5%;
  }

  #banner h1 {
    padding-top: var(--space-medium);
  }
  #banner p {
    width: 50%;
    margin-bottom: 0;
  }

  .contact div {
    padding-right: 30px;
  }

  footer .nav-links + address {
    padding-left: 0px;
  }
}

@media (max-width: 991px) {
  header {
    padding: 20px 100px;
  }
  .hidden-on-large {
    display: block;
  }

  #menu-nav.show-nav {
    transform: translateX(0);
    transition: transform 0.3s ease;
  }

  #toggle.move {
    transform: translateX(120px);
    transition: transform 0.3s ease;
  }

  #logo.move {
    transform: translateX(100px);
    transition: transform 0.3s ease;
  }

  header nav {
    background: linear-gradient(
      235deg,
      var(--green-color) 50%,
      var(--yellow-color) 75%
    );
    opacity: 0.8;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    z-index: 100;
    padding: 30px;
    transform: translateX(250px);
  }

  header nav ul a {
    display: block;
    padding: 20px;
  }

  header nav ul li {
    display: block;
    border-bottom: 2px solid rgba(200, 200, 200, 0.1);
  }

  h1 small {
    font-size: 1rem;
    line-height: 1.5rem;
    width: 75%;
    margin: auto;
  }

  .inner-page #banner p {
    width: 75%;
  }

  .grey-cards.gridcol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 50px;
  }

  h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .col-two {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .col-three {
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 10px;
  }
  .col-four {
    grid-template-columns: 1fr 1fr;
  }

  .feature-content,
  .feature-content.reverse {
    padding: 0 35px;
  }

  .feature-content:nth-of-type(2) {
    order: 1;
  }
  .inner-page .feature-content:nth-of-type(2) {
    order: 0;
  }

  #marketing .reverse.col-two .feature-content {
    padding: 0;
  }
  #marketing .reverse.col-two {
    padding: var(--space-medium) var(--space-large);
  }

  .grey-card {
    padding: 20px;
  }

  .contact div {
    padding-right: 0;
  }

  form {
    padding-top: 0;
  }

  footer img {
    margin: 0;
    grid-column: 1 / 3;
  }
  footer .nav-links {
    grid-column: 1 / 3;
  }

  #marketing .dark-bg .subtitle {
    grid-column: 1 / 3;
  }
  #marketing .dark-bg :nth-child(2) {
    grid-row: 2 / 6;
  }
  #marketing .dark-bg .feature-content {
    padding-right: 20px;
  }

  #webdesign .card-2row {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
  }
  #webdesign .card-2col {
    grid-column: 1 / 3;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  #webdesign .card-2col h3 {
    grid-column: 1/4;
    margin-bottom: 0;
  }
  #webdesign .button.button-cta {
    margin: 20px 0;
  }
  #careers .feature-content {
    padding-top: 50px;
  }
  #careers .grey-bg h2 {
    margin-bottom: 0;
  }
  #careers .contact {
    margin-top: 50px;
  }

  .nav-links {
    width: 100%;
  }

  #careers section.grey-bg {
    padding-bottom: 100px;
  }
  #careers .col-four {
    gap: 50px;
  }

  #careers .feature-content {
    position: relative;
    padding: 50px 0 15px 0;
  }

  #careers .col-four h3 {
    padding-bottom: 15px;
  }
}

@media (max-width: 479px) {
  header nav {
    width: 200px;
    transform: translateX(200px);
  }

  .button {
    margin: var(--space-small) 0;
  }

  .subtitle {
    padding: 15px 0;
  }

  p ~ p {
    margin-top: 15px;
  }

  .section-title {
    margin-bottom: 0;
  }

  .card img {
    margin: 30px 0 15px;
  }

  h2 {
    margin-bottom: 15px;
  }
  .inner-page h2 {
    margin-bottom: 30px;
  }
  .inner-page h2.subtitle {
    padding-bottom: 15px !important;
  }

  #banner .half-width {
    width: 85%;
  }

  #banner .two-thirds-width {
    width: 85%;
  }

  section,
  .gridcol.col-two {
    padding: 50px 5% !important;
  }
  .card p,
  .grey-card p {
    margin: 15px 0;
  }

  .grey-cards.gridcol,
  .col-three,
  .col-four {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-content,
  .feature-content.reverse {
    padding: 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title span {
    display: inline;
  }

  .nav-links li {
    margin-bottom: 10px;
  }

  footer .gridcol.col-four {
    gap: 20px;
  }
  .nav-links ul {
    column-gap: 100px;
  }
  footer .nav-links li {
    margin: 0;
  }

  footer .two-thirds-width {
    width: 85%;
  }

  .grey-card span {
    font-size: 16px;
  }

  #marketing .dark-bg .subtitle {
    grid-column: 1 / 2;
  }
  #marketing .dark-bg :nth-child(2) {
    grid-row: 2 / 3;
  }
  #marketing .button-cta {
    margin: 20px 0;
  }
  #webdesign .card-2col {
    display: flex;
    flex-direction: column;
  }
  #webdesign .card-2col p {
    padding-bottom: 0;
  }

  #webdesign .green-label ~ p {
    padding: 0 var(--space-small) 15px;
  }

  #webdesign a.subtitle {
    margin: 0 0 20px 30px;
    padding: 0;
  }
  #webdesign .feature-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #webdesign .green-label,
  #webdesign .feature-content h3 {
    margin: 0 20px;
  }
  #webdesign .green-label ~ h3 {
    width: 50%;
  }
  #webdesign p {
    padding-bottom: 10px;
  }
  #careers .col-four {
    padding: 20px;
  }
  #careers .col-four :first-child {
    padding-top: 10px;
  }
  #careers .feature-content p {
    padding-bottom: 0;
  }
  #careers .contact-links {
    flex-direction: column;
  }
}

@media (max-width: 376px) {
  h1 {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 5px;
  }

  p,
  footer {
    font-size: 12px;
  }

  p {
    padding-bottom: 15px;
  }
}
