/* fira-sans-regular - latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fira-sans-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/fira-sans-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fira-sans-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/fira-sans-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/fira-sans-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/fira-sans-v16-latin-regular.svg#FiraSans') format('svg'); /* Legacy iOS */
}

/* fira-sans-700 - latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/fira-sans-v16-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/fira-sans-v16-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fira-sans-v16-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/fira-sans-v16-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/fira-sans-v16-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/fira-sans-v16-latin-700.svg#FiraSans') format('svg'); /* Legacy iOS */
}
/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/montserrat-v25-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
}
body {
  overflow-x: hidden;
  color: #6f7072;
  letter-spacing: 0.5px;
  font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Fira Sans, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}
p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
a {
  color: #e75752;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  outline: 0;
}
a:hover {
  color: #6f7072;
}
a:active {
  outline: 0;
}
a.phone:hover {
  color: inherit;
  text-decoration: none;
}
.text-primary {
  color: #e75752 !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Fira Sans, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.4;
}
.page-section {
  padding: 75px 0;
}
.page-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
}
.page-section h3,
h3 {
  font-size: 24px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 15px;
}
.page-section h5,
h5 {
  font-weight: 700;
}
.clients {
  font-size: 18px;
  font-weight: 700;
}
.bg-red {
  color: #fff;
  background-color: #e75752;
}
.bg-grey {
  color: #fff;
  background-color: #444;
}
.bg-lightgrey {
  background-color: #f1f1f1;
}

@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
  .page-section h3,
  h3 {
    font-size: 36px;
  }
  .clients {
    font-size: 24px;
    font-weight: 500;
  }
}

::-moz-selection {
  color: #fff;
  background: #6f7072;
  text-shadow: none;
}
::selection {
  color: #fff;
  background: #6f7072;
  text-shadow: none;
}
img::-moz-selection {
  background: transparent;
}
img::selection {
  background: transparent;
}
img::-moz-selection {
  background: transparent;
}

/* Buttons */

.btn {
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-xl {
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 10rem;
}
.btn-primary {
  color: #fff;
  background-color: #e75752;
  border-color: #e75752;
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  color: #fff;
  background-color: #6f7072 !important;
  border-color: #6f7072 !important;
}
.btn-primary:active,
.btn-primary:focus,
.btn-secondary:active,
.btn-secondary:focus {
  box-shadow: none !important;
}
.btn-secondary {
  color: #e75752;
  background-color: transparent;
  border-color: #e75752;
}
.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:hover {
  color: #fff;
  background-color: #e75752 !important;
  border-color: #e75752 !important;
}
.bg-red .btn-secondary,
.bg-grey .btn-secondary {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
}
.bg-red .btn-secondary:active,
.bg-red .btn-secondary:focus,
.bg-red .btn-secondary:hover {
  color: #e75752;
  background-color: #fff !important;
  border-color: #fff !important;
}

/* Navigation */

#mainNav {
  -webkit-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}
#mainNav .navbar-toggler {
  font-size: 16px;
  font-weight: 900;
  right: 0;
  padding: 15px 2px;
  text-transform: uppercase;
  color: #6f7072;
  border: 0;
}
#mainNav .navbar-brand {
  margin-left: 0;
}
#mainNav .navbar-nav {
  margin: 10px;
  text-align: center;
}
#mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 700;
  padding: 0.75em 0;
  color: #6f7072;
}
.contact-box {
  display: none;
}
.contact-box-inside,
.contact-box-inside a {
  display: none;
}
#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #e75752;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 20px;
    padding-bottom: 20px;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
  }
  #mainNav .navbar-brand {
    margin-left: 1rem;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav {
    margin: 0 205px 0 0;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
  .contact-box {
    top: 0;
    right: 0;
    padding: 0 30px;
    background-color: #e75752;
    height: 100%;
    position: absolute;
    display: inline-block;
  }
  .contact-box-inside,
  .contact-box-inside a {
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.75;
    display: inline;
  }
  .contact-box-inside i {
    opacity: 0.5;
    font-size: 14px;
    margin-right: 6px;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    padding: 12px 0;
  }
}

/* Header */

header.masthead {
  height: calc(100vh - 50px);
  margin-top: 50px;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    url("../img/header-img.jpg");
  background-position: 15% top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
header.masthead h1 {
  color: #fff;
  font-size: 1.5rem;
  line-height: 2rem;
}
header.masthead a {
  margin-bottom: 9.5rem;
}
header.masthead p {
  color: #fff;
}

@media (min-width: 768px) {
  header.masthead a {
    margin-bottom: 6rem;
  }
}

@media (min-width: 1200px) {
  header.masthead {
    height: calc(100vh - 72px);
    margin-top: 72px;
    background-image: url("../img/header-img.jpg");
    background-position: left top;
    min-height: 20rem;
    padding-bottom: 0;
  }
  header.masthead h1 {
    color: #6f7072;
    font-size: 2.5rem;
    line-height: 3rem;
    margin-top: 25%;
  }
  header.masthead a {
    margin-bottom: 0;
  }
  header.masthead p {
    color: #6f7072;
    font-size: 1.15rem;
  }
}

.img-box {
  margin: 0 15%;
  padding: 40px;
  border-radius: 15px;
  background-color: #fff;
  -webkit-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .img-box {
    margin: 0 20px;
  }
}

a.service-link {
  color: #e75752;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
a.service-link:hover {
  color: #6f7072;
  text-decoration: none;
}
a.service-link .icon-box {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
a.service-link:hover .icon-box {
  background-color: #6f7072;
  padding: 20px;
  -webkit-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.3);
}
.icon-box {
  background-color: #e75752;
  border-radius: 100%;
  margin: auto;
  padding: 25px;
  height: 175px;
  width: 175px;
  display: inline-block;
}
.icon-box img {
  max-width: 100%;
  max-height: 100%;
}
.service-heading {
  margin: 15px 0;
  text-transform: none;
}
#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}
#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}
#portfolio
  .portfolio-item
  .portfolio-link
  .portfolio-hover
  .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}
#portfolio
  .portfolio-item
  .portfolio-link
  .portfolio-hover
  .portfolio-hover-content
  i {
  margin-top: -12px;
}
#portfolio
  .portfolio-item
  .portfolio-link
  .portfolio-hover
  .portfolio-hover-content
  h3,
#portfolio
  .portfolio-item
  .portfolio-link
  .portfolio-hover
  .portfolio-hover-content
  h4 {
  margin: 0;
}
#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}
#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}
#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}
.portfolio-modal .modal-content {
  padding: 30px 0;
}
.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}
.portfolio-modal .modal-content button {
  cursor: pointer;
}
.portfolio-modal .modal-content a:not([href]):not([tabindex]) {
  color: #fff;
}
.portfolio-modal .close-modal {
  position: absolute;
  z-index: 1053;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background-color: transparent;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 2px;
  height: 30px;
  margin-left: 15px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: #212529;
}
.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 2px;
  height: 30px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: #212529;
}

/* Full width images */

.full-width-img {
  width: 100vw;
  min-height: 500px;
  padding-bottom: 75px;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.full-width-img.section-img-01 {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    url("../img/section-img-01.jpg");
}
.full-width-img.section-img-02 {
  background-image: url("../img/section-img-02.jpg");
}
@media (min-width: 1200px) {
  .full-width-img {
    width: 100vw;
    min-height: 800px;
  }
}

/* Team */

.team-member {
  margin-bottom: 50px;
  text-align: center;
}
.team-member a {
  color: #6f7072;
  display: block;
}
.team-member a:hover {
  color: #e75752;
  text-decoration: none;
}
.team-member a:hover img {
  -webkit-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.3);
}
.team-member a img {
  border: 12px solid #fff;
  width: 350px;
  height: auto;
  display: inline-block;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.team-member h4 {
  margin-top: 1rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: none;
}
.team-member p {
  margin-top: 0;
}

/* Accordion */

.accordion .card,
.accordion .card:first-of-type,
.accordion .card:not(:first-of-type):not(:last-of-type),
.accordion .card:last-of-type {
  border: none;
  border-radius: 5px;
}
.accordion .card-title {
  font-size: 1rem;
  font-weight: 700;
}
.accordion .card-header {
  background: #fff;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.accordion .card-header:before {
  color: #e75752;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f077";
  float: right;
  margin-left: 0.5rem;
}
.accordion .card-header.collapsed:before {
  content: "\f078";
}
.accordion .h3,
.accordion h3 {
  color: #e75752;
}
.accordion .h5,
.accordion h5 {
  font-weight: 700;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .accordion .card,
  .accordion .card:first-of-type,
  .accordion .card:not(:first-of-type):not(:last-of-type),
  .accordion .card:last-of-type {
    border-radius: 10px;
  }
  .accordion .card-title {
    font-size: 1.5rem;
    font-weight: 500;
  }
  .accordion .card-header:before {
    margin-top: 0.5rem;
  }
}

/* Scroll to Top */

.scroll-to-top {
  z-index: 1000;
  right: 15px;
  bottom: 15px;
  display: none;
}
.scroll-to-top a {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-color: rgba(0, 0, 0, 0.4);
  line-height: 50px;
}
@media (min-width: 992px) {
  .scroll-to-top {
    right: 25px;
    bottom: 25px;
  }
}

/* Footer */

footer {
  padding: 25px 0;
  color: #fff;
  background-color: #444;
}
footer .navbar-expand-lg {
  -ms-flex-pack: end;
  justify-content: flex-end;
}
footer .nav-link,
footer .copyright {
  padding: 1rem !important;
  display: inline-block;
}
footer a.nav-link {
  color: #fff;
  font-weight: 700;
}
footer a:hover {
  color: #e75752;
  text-decoration: none;
}
