@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-size: 2.5rem;
  color: #fff;
}

ul {
  list-style: none;
  display: flex;
  padding: 10px;
}

li {
  padding: 10px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #333;
  width: 100%;
  height: 60px;
  position: fixed;
  opacity: 0.8;
}

.navbar .logo {
  height: 40px;
}

.nav-link {
  color: #fff;
  position: relative;
  padding: 5px;
}

nav .home-link {
  background-color: #fff;
  height: 50px;
  width: 50px;
  margin: 5px 30px;
  border-radius: 50%;
}

.navbar.top {
  background: transparent;
}

.menu {
  display: none;
  cursor: pointer;
  justify-content: center;
}

.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/globe.png') no-repeat center right/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: 3rem;
  font-weight: 400;
  padding-top: 100px;
}

.hero .content p {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 75%;
  margin: 20px 0 30px;
}

.title {
  text-align: center;
  font-size: 1.2rem;
  padding: 10px 20px;
}

.title h2 {
  font-weight: 800;
}

.banner {
  background-color: #12377c;
  color: #fff;
}

/* Icons */
.icon {
  color: #f00;
  font-size: 100px;
  padding: 20px;
}

.bar {
  color: #f00;
  font-size: 20px;
}

/* About */
.about {
  background-color: #f0f0f0;
  display: flex;
  padding: 0 100px;
  margin: 20px;
  justify-content: center;
  align-items: center;
}

.about p {
  padding: 30px;
  font-size: .8em;
  font-weight: 800;
}

.about img {
  width: 10rem;
}

.estimate {
  justify-content: center;
  align-items: center;
  padding: 0 150px;
}

.simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 0 200px; */
}


.info-box {
  /* padding: 0 200px; */
  justify-content: center;
  align-items: center;
}

.info h3,
p {
  /* padding: 0 150px; */
  /* margin: 0 20px; */
  text-align: left;
}


/* 
.mistakes {
  display: flex;
  flex-direction: column;
} */

.banner {
  background-color: #12377c;
  color: #fff;
}



/* .cases img:hover {
  opacity: 0.7;
} */

/* .team img {
  border-radius: 50%;
} */

/* Samples */
.sample {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px;
}

.samples img {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.py-1 {
  padding: 1rem 0;
}

.py-2 {
  padding: 2rem 0;
}

.py-3 {
  padding: 3rem 0;
}

.py-4 {
  padding: 4rem 0;
}

.my-1 {
  margin: 1rem 0;
}

.my-2 {
  margin: 2rem 0;
}

.my-3 {
  margin: 3rem 0;
}

.my-4 {
  margin: 4rem 0;
}

.text-center {
  text-align: center;
}

/* Mission Statement */


.title {
  /* padding: 50px 200px; */
  text-align: center;
  font-size: 1.2em;
}

.title h2 {
  font-weight: 800;
}

.mission {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  margin: auto;
}

.mission_color {
  color: #f00;
}

/* ************************************** */
.mission img {
  border-radius: 10px;
  /* justify-content: center;
  align-items: center; */
}

/* ************************************** */
.mission-i {
  justify-content: center;
  align-self: center;
  padding: 5px;
}

.statement {
  display: flex;
  padding: 5px 100px;
}

.mission p {
  padding: 20px 100px;
  text-align: center;
}

/* .containerS {
  background-color: #f5f5f5;
} */
.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden;
}

.section-title {
  font-size: 2rem;
  display: block;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: 100;
  text-transform: uppercase;
}

.bottom-line {
  height: 2px;
  width: 3rem;
  background: #ffbc00;
  display: block;
  margin: 0 auto 1rem auto;
}

.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3); */
}

.item {
  position: relative;
  background: #f4f4f4;
  overflow: hidden;
}

.item::after {
  content: '';
  position: absolute;
  display: block;
  background: inherit;
  opacity: 0.9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
  transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
}

.item:hover:after {
  transform: scale(2) translateX(0) translateY(0) rotate(-28deg);
}

.item:hover .item-image {
  transform: scale(1.2);
}

.item:hover .item-text {
  opacity: 1;
  transform: translateY(0);
}

.item-image {
  height: auto;
  transform: translateZ(0);
  display: block;
  transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1);
}

.item-image:before {
  content: '';
  display: block;
  padding-top: 75%;
  overflow: hidden;
}

.item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  line-height: 0;
}

.item-text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  text-align: center;
  z-index: 1;
  color: #fff;
  transform: translateY(-20%);
  transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1), transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: 500ms;
}

.item-text-wrap {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.item-text-title {
  color: #000;
  font-size: 1.5rem;
  padding: 0 1rem;
  margin: 5px 0 0 0;
}

.item-text-category {
  text-transform: uppercase;
  font-size: 1.2rem;
  color: #000;
  margin: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 50px 0 50px;
  margin: 0 50px 0 50px;

}

.service {
  padding: 20px;
  width: 100%;
}

.service img {
  width: 100%;
}

.specials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.specials p {
  padding: 0 20px;
  text-align: center;
}

#home-c .process-icon {
  border-radius: 50%;
  background: #333;
  color: #fff;
  padding: 2rem;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  position: relative;
  transition: all 1s;
}

#home-c .process-icon:hover {
  background: #ffbc00;
  width: 90px;
  height: 90px;
  line-height: 90px;
}

#home-c .process-icon:hover .process-step {
  background: #333;
  color: #fff;
}

/* .service h3 {
  text-align: center;
} */

/* .service p {
  text-align: center;
} */

.planning {
  width: 50%;
  margin: auto;
  align-items: center;
  justify-content: center;
}

.planning h3 {
  text-align: center;
}


.faq span {
  font-size: 20px;
  font-weight: bold;
}

.faq {
  display: flex;
  flex-direction: column;
  /* flex-wrap: nowrap; */
  justify-content: flex-start;
  align-items: flex-start;
  /* align-content: stretch; */
  padding: 10px;
}



/* 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: 100%;
  padding: 4px;
  height: 40px;
  border: #f5f5f5 1px solid;
}

.callback-form input:focus {
  outline-color: #333;
}

.callback-form .btn {
  padding: 12px 0;
  margin-top: 20px;
}

.callback-form .message-input {
  height: 100px;
  width: 300px;
}

/* 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: #12377c;
}

/********************* UTILITIES ***************/

/* Button */
.btn {
  cursor: pointer;
  display: inline-block;
  padding: 10px 30px;
  color: #fff;
  background-color: #12377c;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
}



/* Flex items */
.flex-items {
  display: flex;
  text-align: center;
  justify-content: center;
  height: 100%;
}

.flex-items>div {
  padding: 40px;
}

.flex-items>div .container2 {
  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;
}

/* 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;
}

/* Flex grid */
.flex-grid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.flex-grid .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}


/* Media Queries*/
@media(max-width: 860px) {
  .hero {
    height: 30rem;
  }

  .hero .content h1 {
    font-size: 2rem;
  }

  .nav-menu a {
    font-size: 1rem;
  }

  .hero,
  content p {
    font-size: 0.5rem;
  }

  .features h2,
  .about h2,
  .testimonials h2,
  .gallery h2,
  .contact h2 {
    font-size: 2rem;
  }

  .menu {
    display: block;
    padding: 1.2rem;
  }

  .menu.active .layer:nth-child(2) {
    opacity: 0;
  }

  .menu.active .layer:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu.active .layer:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 140px;
    gap: 0;
    flex-direction: column;
    background-color: var(--primary_color2);
    color: #12377c;
    width: 50%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-item {
    margin: 16px;
    background-color: black;
  }

  .nav-menu.active {
    left: 0;
  }

  .about,
  .estimate {
    padding: 10px;
  }

  .feature-items,
  .about,
  .testimonial-items,
  .contact-page {
    flex-direction: column;
  }

  .specials,
  .items {
    display: flex;
    flex-direction: column;
  }

  .flex-columns .row {
    flex-direction: column;
  }

  .about img {
    margin: auto;
    width: 90%;
  }

  .image-gallery {
    display: flex;
    flex-direction: column;
  }

  .testimonial,
  .info {
    width: 90%;
    margin: auto;
    text-align: center;
  }

  .hours {
    padding: 20px;
    /* margin: auto; */
    justify-content: center;
  }

  .biz-day,
  .biz-time {
    padding: 0.5rem;
  }

  .contact-form {
    padding: 20px;
  }

  .mistakes li {
    line-height: 1.2;
  }
}

/* @media(max-width: 768px) {
  .about {
    padding: 0 5px;
    margin: auto;
  }
} */