:root {
  --bg-color: #3568c5;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #333;
  color: #fff;
  line-height: 1.6;
}

header {
  background-color: var(--bg-color);
}

li {
  list-style: none;
}

a {
  color: #fff;
  text-decoration: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: #fff;
  opacity: 0.8;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0px;
  padding: 0 30px;
  transition: 0.05s;
}

.navbar h1 {
  color: #fff;
  font-size: 2rem;
}

.navbar img {
  height: 100px;
  margin: 5px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.nav-branding {
  font-size: 2rem;
}

.nav-link {
  transition: 0.7s ease;
}

.nav-link:hover {
  border-bottom: #fff 2px solid;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.layer {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  background-color: #fff;
}

.hero {
  background: url('images/volt-meter.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: #fff;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.hero .content h1 {
  /* font-size: 40px; */
  max-width: 600px;
}

.hero .content p {
  font-size: 23px;
  max-width: 600px;
  margin: 20px 0 30px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero * {
  z-index: 1;
}

.btn {
  cursor: pointer;
  display: inline-block;
  padding: 10px 30px;
  color: #fff;
  background-color: var(--bg-color);
  border: none;
  border-radius: 5px;
}

/* Icons */
.icon {
  color: #f00;
  font-size: 100px;
  padding: 20px;
}

.bar {
  color: #f00;
  font-size: 20px;
}

.estimate {
  justify-content: center;
  align-items: center;
  padding: 0 150px;
}

.simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.info-box {
  justify-content: center;
  align-items: center;
}

.info h3,
p {
  text-align: left;
}

.banner {
  background-color: var(--bg-color);
  color: #fff;
}

.mission {
  display: flex;
  padding: 10px;
  text-align: center;
  justify-content: center;
  align-items: center;
}



.mission_color {
  color: #f00;
}

.mission img {
  border-radius: 10px;
}

.statement {
  display: flex;
  padding: 5px 20px;
}

.mission p {
  padding: 10px 20px;
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 20px;
  gap: 1rem;

}

.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.planning {
  width: 50%;
  margin: auto;
  align-items: center;
  justify-content: center;
}

.planning h3 {
  text-align: center;
}

.title {
  text-align: center;
  font-size: 1.2rem;
  padding: 10px 20px;
}

.title h2 {
  font-weight: 800;
}

/* Samples */
.sample {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 25vw);
  grid-gap: 1rem;
  padding: 20px;
}

.samples img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq span {
  font-size: 20px;
  font-weight: bold;
}

.faq {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px;
}

/* About */
.about {
  background-color: #f5f5f5;
  display: flex;
  padding: 0 10px;
  margin: 20px 20px;
  justify-content: center;
  align-items: center;
}

.about p {
  padding: 30px;
  color: #333;
  font-size: .8em;
  font-weight: 800;
}

.about img {
  width: 10rem;
}

/* Flex Items */

.flex-items {
  display: flex;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.flex-items>div {
  padding: 40px;
}

.flex-items>div .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  font-size: 1.2em;
  text-align: left;
  line-height: 2;
}

/* Flex Columns */
.flex-columns.flex-reverse .row {
  flex-direction: row-reverse;
}

.flex-columns .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.flex-columns .column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.flex-columns .column .column-1,
.flex-columns .column .column-2 {
  height: 100%;
}

.flex-columns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-columns .column-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.flex-columns h2 {
  font-size: 40px;
  font-weight: 100;
}

.flex-columns h4 {
  margin-bottom: 10px;
}

.flex-columns p {
  margin: 20px 0;
}

/* Flex grid */
.flex-grid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.flex-grid .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

/* Section header */
.section-header {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-header h2 {
  font-size: 40px;
  margin: 20px 0;
}

.section-padding {
  padding: 20px 20px 40px;
}

/* Callback form */
.callback-form {
  width: 100%;
  padding: 20px 0;
}

.callback-form label {
  display: block;
  margin-bottom: 5px;
}

.callback-form .form-control {
  margin-bottom: 15px;
}

.callback-form input {
  width: 50%;
  padding: 4px;
  height: 40px;
  border: #f5f5f5 1px solid;
}

.callback-form input:focus {
  outline-color: #ff0505;
}

.callback-form .btn {
  padding: 12px 0;
  margin-top: 20px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #28a745;
}

.footer .social>* {
  margin-right: 30px;
}

.social i {
  color: #a52a2a;
}

@media(max-width: 1000px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: #262626;
    width: 20%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-item {
    margin: 16px;
    z-index: 200px;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero .content h1,
  .hero .content p {
    max-width: 500px;
  }

  .services,
  .sample,
  .mission {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    margin: 0 20px;
  }

  .flex-items>div .container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px 20px;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }

  .estimate {
    padding: 20px;
    margin: auto;
    flex-grow: initial;
  }
}

@media(max-width: 768px) {
  .navbar h1 {
    display: none;
  }

  .hero .content {
    max-width: 350px;
    margin: auto;
  }
}