/* default styles */
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  font-size: 16px;
  line-height: 1.5;
  background-color: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: 0;
  padding: 0;
}

header {
  background-color: #fff;
  padding: 20px;
}

nav {
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  margin: 0.25em 1em;
  display: flex;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}

.menu {
  /* flex-direction: row; */
  display: flex;
  justify-content: flex-end;
}

.btn-primary:hover {
  background-color: #f3f3f3;
  color: #1f1f1f;
}
.navbar {
}

.navbar li {
  list-style: none;
}

.navbar li a {
  padding: 10px 10px;
  color: #392F5A;
  text-decoration: none;
}

.navbar li a:hover {
  background-color: #f1c40f;
  color: #fff;
}

img {
  max-width: 50%;
  max-height: 500px;
}

.hero {
  background-image: url("https://source.unsplash.com/random/1280x720/?architecturedesign");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.5);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.hero-content {
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #f3f3f3;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: #F8F4A6;
  color: #1f1f1f;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.services {
  /* padding: 50px; */
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
}

.service-title {
  font-size: 3rem;
  text-align: center;
  padding: 0.5em 0;
  background-color: #f3f3f3;
  justify-content: center;
  display: flex;
  align-items: center;
  color: #1f1f1f;
}

.service {
  display: flex;
  margin-bottom: 0;
  flex-direction: row;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f3f3f3;
}

.service img {
  /* max-width: 90%; */
}

.service h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.service p {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
}

.sc2 {
  color: #1f1f1f;
  background-color: #f3f3f3;
}

.aboutContact {
  padding: 0 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about {
  text-align: center;
  background-color: #f3f3f3;
}

.about h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  background-color: #f3f3f3;
  color: #1f1f1f;
}

.about img {
  margin-bottom: 50px;
}

.about p {
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0em 3rem;
  text-align: left;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: #f3f3f3;
}

.contact h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  background-color:#f3f3f3;
  color: ;
}

.contact p {
  font-size: 1.2rem;
  margin: 20px 0;
  line-height: 1em;
  padding: 0 3rem;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
}

.form-control {
  flex-basis: 100%;
  margin-bottom: 20px;
}

.form-control label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1em 0 0 0;
}

.form-control input[type="text"],
.form-control input[type="email"],
.form-control textarea {
  width: 85%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1.2rem;
  resize: none;
}

#message {
  height: 200px;
}

.form-control input[type="submit"] {
  background-color: #17BEBB;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.form-control input[type="submit"]:hover {
  background-color: #e67e22;
}

.footer {
  background-color: #1f1f1f;
  color: #fff;
  padding: 0.5rem 0.2rem;
}

.footer p {
  font-size: 1.2rem;
  text-align: center;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.mobile-underline {
  display: none;
}

.serviceImg {
  max-width: 57.5%;
}

/* hide menu dropdown by default */
.menu-dropdown {
  display: none;
}

/* show menu dropdown when menu icon is clicked */
.menu-icon:hover .menu-dropdown,
.menu-icon:focus .menu-dropdown {
  display: block;
}

.topnav #myLinks {
  display: none;
}

.topnav {
  visibility: hidden;
}

.scroll-to-top {
  display: black;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
}

.upArrow a:active,
a:visited {
  color: white;
}

a:hover {
  color: #17BEBB;
}

.jtLink {
  color: #17BEBB;
  text-decoration: none;
}


@media screen and (max-width: 768px) {
  .menu {
    display: none;
  }
  .aboutContact {
    display: grid;
    grid-template-columns: 1fr;
  }

  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
    background-color: #f3f3f3;
  }

  .logo {
    margin-bottom: 20px;
    color: #392F5A;
  }

  .navbar {
    /* margin-bottom: 20px; */
  }

  .navbar li {
    margin-right: 10px;
  }

  .navbar li a {
    padding: 0;
    color: #17BEBB;
    text-decoration: none;
  }

  .hero-content {
    margin: 0 20px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .services {
    padding: 0;
  }

  .about {
    flex-wrap: wrap;
    margin: 20px 0;
  }

  .about-image img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .about-content {
    margin-left: 0;
  }

  .about h2 {
    font-size: 2.5rem;
  }

  .about p {
    font-size: 1rem;
  }

  .contact-form {
    flex-wrap: wrap;
  }

  .form-control {
    flex-basis: 100%;
  }

  .form-control input[type="submit"] {
    width: 100%;
  }

  .footer {
    text-align: center;
  }

  .service {
    position: relative;
    margin: 0;
  }

  .service img {
    display: none;
  }

  .service img {
    width: 100%;
    height: 640px;
    object-fit: cover;
  }

  .service p,
  h3 {
    color: white;
    backdrop-filter: drop-shadow(4px 4px 10px blue);
  }

  .service-card {
    text-align: center;
    justify-content: center;
    background-blend-mode: darken;
  }

  .service-card p {
    text-align: center;
  }

  .mobile-underline {
  }

  .sc1 {
    backdrop-filter: blur(8px);
    background-image: linear-gradient(rgba(0, 0, 0, 0.527), rgba(0, 0, 0, 0.75)),
      url("https://source.unsplash.com/random/800x600/?handyman");
  }
  .sc2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.527), rgba(0, 0, 0, 0.75)),
      url("https://source.unsplash.com/random/800x600/?buildingdesign");
  }
  .sc3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.527), rgba(0, 0, 0, 0.75)),
      url("https://source.unsplash.com/random/800x600/?projectmanagement");
  }

  .contact {
    color: #f3f3f3;
    background-color: #392F5A;
    padding: 1em 0;
  }

  .contact h2 {
    background-color: #392F5A;
  }

  .form-control input[type="text"],
  .form-control input[type="email"],
  .form-control textarea {
    width: 75%;
    padding: 10px 50px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1.2rem;
    resize: none;
  }

  .form-control input[type="submit"] {
    background-color: #17BEBB;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 75%;
  }

  .topnav {
    visibility: visible;
  }

  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
    display: none;
  }

  /* Style navigation menu links */
  .topnav a {
    color: #1f1f1f;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    transition: all 0.3s ease;
    width: auto;
    
  }

  /* Style the hamburger menu */
  .topnav a.icon {
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s ease;
  }

  /* Add a grey background color on mouse-over */
  .topnav a:hover {
    color: black;
  }

  .topnav a:clicked {
    color: #f3f3f3;
  }

  /* Style the active link (or home/logo) */
  .active {
    background-color: #04aa6d;
    color: white;
  }
}
