:root {
  --main-color: #377687;
  --logo-green: #3b8758;
  --logo-green-dark: #2c6341;
  --logo-blue: #5c81b6;
  --secondary-color: #526479;
  --mid-grey: #8da3b2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styling */

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  font-family: "Raleway", sans-serif;
}

img {
  max-width: 100%;
}

.button {
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  /* background-color: #377687; */
  border-radius: 5px;
  border: 1px solid #fff;
  cursor: pointer;
  padding: 10px 15px;
}

.button:hover {
  background-color: #377687;
  border-color: #377687 ;
}

/* Navbar */

.navbar {
  display: flex;
  width: 100%;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  background: #f4f4f4;
  position: fixed;
  z-index: 2;
  opacity: 90%;
}

.logo-wrap {
  height: 60px;
  width: auto;
  z-index: 3;
}

.logo-wrap img {
  max-width: 100%;
  max-height: 100%;
}

.main-menu {
  z-index: 3;
}

.main-menu {
  display: flex;
  align-items: center;
}

.main-menu a {
  color: #333;
  text-transform: uppercase;
  font-weight: 400;
  padding: 10px 5px;
  margin: 0 5px;
  border-bottom: 4px solid transparent;
}

.main-menu a:hover {
  border-bottom: 4px solid #377687;
}

.main-menu .current {
  border-bottom: 4px solid #377687;
}

.main-menu .services-menu-item {
  position: relative;
  cursor: pointer;
}

.services-dropdown-container {
  position: absolute;
  display: none;
  margin-left: -80px;
  background-color: #377687;
  width: 340px;
  height: auto;
  margin-top: 10px;
  line-height: 2;
  padding: 20px;
}

.show {
  display: block;
}

.services-dropdown-container ul li {
  display: block;
}

.main-menu .services-menu-item ul li a {
  color: #fff;
}

.main-menu .services-menu-item ul li a:hover {
  text-decoration: underline;
}

/* Hero Area */

.hero {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: #fff;
  align-content: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  height: 100vh;
  background: url(images/noupoort-2.jpg) no-repeat left center/cover;
}

.hero-container {
  width: 100%;
  
}

.hero a {
  color: #fff;
}

.hero-text {
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 1px 1px #333;
  margin-top: 5vh;
  margin-right: 13%;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero-services-list {
  margin-right: 13%;
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-shadow: 1px 1px #333;
  text-decoration: none;
}

.hero-services-list a:hover {
  text-decoration: underline;
}

.hero-scroll-button {
  position: absolute;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  font-weight: 300;
  justify-content: center;
  align-content: center;
  text-align: center;
  top: 85vh;
  left: 48vw;
  transform: translateX(50%);
  transform: translateY(50%);
  border: 2px solid #fff;
  border-radius: 50%;
  padding: 10px;
  margin: 0 auto;
}

.hero-button {
  justify-content: right;
  align-items: center;
  margin-top: 40px;
  z-index: 3;
  margin-right: 13%;
}

/* Services */

.main-header-spacer {
  display: flex;
  height: 40px;
}

.services-container {
  width: 100%;
  margin: 20px auto;
}

.main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #444;
  padding: 20px 0px;
}

h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  padding-top: 10px;
}

.section-heading-line {
  height: 1px;
  width: 300px;
  border-bottom: 1px solid #5c81b6;
  margin-bottom: 15px;
}

.services-intro {
  font-size: 1.2rem;
}

.services-grid {
  max-width: 1200px;
  margin: auto;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
  line-height: 1.5rem;
}

.services-grid-2 {
  max-width: 1200px;
  margin: -30px auto 0px;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px;
  line-height: 1.5rem;
}

.service-item {
  padding: 20px;
  /* display: flex;
  flex-direction: column; */
}

.read-more {
  border: 1px solid;
  padding: 5px;
}

h3 {
  line-height: 2rem;
  text-transform: uppercase;
}

.services-1,
.services-3,
.services-5, .services-7 {
  background-color: #526479;
  color: #fff;
}

.services-2,
.services-4,
.services-6 {
  background-color: #e4e4e4;
}

.service-item a {
  font-weight: 600;
  color: inherit;
  /* border: 1px solid;
  padding: 5px; */
  text-transform: uppercase;
}

.service-item a:hover {
  font-size: 110%;
}

/* About */

.about {
  width: 100%;
  background-color: #377687;
  padding: 20px;
}

.about-container {
  max-width: 1000px;
  margin: auto;
  justify-content: center;
  color: #fff;
  padding-bottom: 20px;
}

.about-container h2 {
  color: #fff;
}

.about-info {
  margin-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 18px;
  line-height: 1.5;
}

.about a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.about a:hover {
  color: #333;
}

/* Clients */

.clients {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 500px;
  background: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  padding: 40px;
}

.clients-container {
  padding: 20px;
  max-width: 1000px;
}

.clients-container img {
  max-width: 100%;
}

/* Contact page */

.contact {
  width: 100%;
  margin: 0 auto;
  padding-top: 80px;
  height: 100vh;
}

.contact-container {
  max-width: 1100px;
  padding: 20px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.contact-info {
  padding-left: 50px;
  margin: auto;
}

.contact-info .contact-type {
  display: grid;
  grid-template-columns: 1fr 10fr;
  padding: 20px;
  font-size: 1.5rem;
  line-height: 1.5rem;
}

.contact-type .fa-icon {
  width: 40px;
  color: #377687;
}

/* Service Pages */

.service-page {
  width: 100%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 40px;
}

.service-page .service-page-container {
  max-width: 1000px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.service-page .service-page-container .service-content {
  line-height: 1.5;
}

.services-heading {
  font-size: 2.5rem;
}

.service-page .service-page-container .service-content p,
h3,
h4 {
  margin-bottom: 1rem;
}

.service-content h3 {
  font-size: 2rem;
}

.service-content h4 {
  font-size: 1.5rem;
}

.service-content ul {
  margin-bottom: 20px;
}

.service-content li {
  list-style-type: disc;
  line-height: 2;
  margin-left: 20px;
}

.service-content img {
  display: block;
  margin: auto;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding-bottom: 20px;
}

/* Footer */

footer {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #333;
  color: #fff;
}

footer p {
  line-height: 2rem;
}

footer h3 {
  line-height: 2rem;
  font-size: 2rem;
  font-family: "Bebas Neue", cursive;
  margin-bottom: 10px;
}

@media only screen and (max-width: 1100px) {
  .main-menu a:hover {
    border-bottom: 4px solid transparent;
  }

  .hero-text {
    margin-top: 
  }

  .hero-text, hero-button {
    font-size: 1rem;
  }

  .hero-services-list {
    line-height: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-2 {
    grid-template-columns: 1fr;
  }

  .services-1,
  .services-3,
  .services-5, .services-7 {
    background-color: #526479;
    color: #fff;
  }

  .services-2,
  .services-4,
  .services-6 {
    background-color: #e4e4e4;
    color: #333;
  }

  .contact {
    height: 100%;
  }

  .contact-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .contact-info {
    padding-left: 10px;
  }

  .contact-info .contact-type {
    grid-template-columns: 1fr 5fr;
  }

  .contact-footer {
    margin-top: 22%;
  }
}

@media only screen and (max-width: 767px) {
  .navbar {
    flex-direction: column;
    position: fixed;
    height: 90px;
  }

  .logo-wrap {
    height: 50px;
  }

  .logo-wrap img {
    max-height: 100%;
    padding-top: 10px;
  }

  .main-menu {
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 0.9rem;
  }

  .main-menu a {
    padding: 0px;
  }

  /* .hero {
    margin-left: -40px;
  } */

  .hero-text {
    font-size: 0.8rem;
    margin-top: 0;
  }

  .hero-services-list {
    font-size: 0.9rem;
    line-height: 1.4rem;
  }

  .hero-scroll-button {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  /* .hero-text, .hero-button {
    margin-right: 20px;
  } */

  .button {
    font-size: 0.8rem;
    padding: 10px;
  }

  .service-container {
    margin: 0;
  }

  .main-header {
    padding: 0px, 10px;
  }

  .main-header h2 {
    font-size: 2rem;
  }

  .section-heading-line {
    margin-bottom: 5px;
    width: 200px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-1,
  .services-3,
  .services-5 {
    background-color: #526479;
    color: #fff;
  }

  .services-2,
  .services-4,
  .services-6 {
    background-color: #e4e4e4;
    color: #333;
  }

  .about-info {
    padding-left: 20px;
    padding-right: 20px;
  }

  .clients {
    height: auto;
  }

  .contact-container {
    grid-template-columns: 1fr;
    height: 100%;
  }

  .contact-info {
    padding-left: 0;
    font-size: 1rem;
    line-height: 0.8rem;
  }

  .contact-info .contact-type {
    font-size: 1.2rem;
    padding: 10px;
  }

  .contact-map {
    display: none;
  }

  footer {
    flex: 1 0 auto;
  }
}

@media only screen and (max-width: 600px) {
  .contact-container {
    padding: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 1fr;
    max-height: 100%;
  }

  .contact-info {
    font-size: 1rem;
    line-height: 1rem;
    padding: 0px;
  }

  .contact-info .contact-type {
    padding: 10px;
    line-height: 1.5rem;
  }

  .contact-type .fa-icon {
    line-height: 1rem;
    font-size: 1.5rem;
  }

  .contact-map {
    display: none;
  }
}
