html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: #202020;
}

h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  line-height: 1.05;
}

h2 {
  font-size: 3.052rem;
  font-weight: 700;
}
@media screen and (max-width: 992px) {
  h2 {
    font-size: 2.441rem;
  }
}

p {
  line-height: 1.5;
}

.btn {
  font-weight: 500;
}

.hero h1 {
  font-size: 3.815rem;
  line-height: 1.05;
  font-weight: 700;
}
@media screen and (max-width: 460px) {
  .hero h1 {
    font-size: 2.441rem;
    line-height: 1.2;
  }
}
.hero h1 .emphasis {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.hero h1 .emphasis:after {
  content: "";
  width: 100%;
  height: 16px;
  background: var(--secondary);
  display: inline-block;
  position: absolute;
  bottom: 4px;
  left: 0;
  z-index: -1;
}
@media screen and (max-width: 460px) {
  .hero h1 .emphasis:after {
    height: 10px;
  }
}
.hero p {
  margin: 1.6rem 0;
  line-height: 1.5;
}

/*******************************
HOME PAGE
********************************/
.location__text {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
}

.section__subheading {
  color: #000077;
  position: relative;
  margin-bottom: 2.5rem;
}
.section__subheading:after {
  content: "";
  width: 3rem;
  height: 4px;
  background: #000077;
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -1rem;
}
@media screen and (max-width: 460px) {
  .section__subheading {
    font-size: 1.25rem;
  }
  .section h2 {
    font-size: 1.953rem;
  }
}
.section h2 {
  margin: 1.5rem 0;
}
.section p {
  margin: 1rem 0 2rem;
  width: 80%;
}

.services .cards .service-card {
  text-align: center;
}
.services .cards .service-card h3 {
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #000077;
  line-height: 1.5;
}
.services .cards .service-card__icon {
  margin-top: -6.2rem;
}
.services .cards .service-card p {
  margin: auto;
}

@keyframes shrink {
  0% {
    transform: scale(1);
  }
  70% {
    transform: scale(0.3);
    opacity: 0.2;
  }
  100% {
    transform: scale(0);
    height: 0;
    display: none;
    padding: 0;
    margin: 0 auto;
    opacity: 0;
  }
}
@keyframes pop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes slideup {
  0% {
    transform: translateY(3rem) scale(1);
    opacity: 0.7;
  }
  80% {
    transform: translateY(-0.5rem) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes growshrink {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.hero {
  background: url("../img/bg-large-reduced.jpg") no-repeat;
  background-size: cover;
  min-height: 40rem;
}
.hero__content {
  padding: 12rem 0;
  max-width: 32rem;
}
.hero__content .cta {
  padding-top: 1rem;
}
.hero__content .cta > *:first-child {
  margin-right: 0.5rem;
}
@media only screen and (max-width: 576px) {
  .hero {
    background-position: -9rem 0;
  }
  .hero__content {
    padding: 10rem 0 12rem;
  }
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.25rem;
}
.btn-primary {
  background: #000077;
  border: 1px solid #000077;
  color: white;
}
.btn-primary:hover, .btn-primary:focus {
  background: #01014a;
}
.btn-empty {
  border: 1px solid #000077;
  color: #000077;
}
.btn-empty:hover, .btn-empty:focus {
  background: #000077;
  color: #fff;
}
@media screen and (max-width: 460px) {
  .btn {
    width: 100%;
    margin: 1rem 0 0;
  }
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background-color 0.08s ease-out;
}
.navbar-brand {
  width: 7rem;
}
.navbar-brand img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .navbar ul {
    position: absolute;
    right: 3rem;
  }
  .navbar ul li {
    padding: 0 1rem;
    position: relative;
  }
  .navbar ul li:after {
    content: "";
    height: 2px;
    width: 0%;
    background: var(--secondary);
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    transition: width 0.2s ease-out;
  }
  .navbar ul li.active:after {
    content: "";
    height: 3px;
    width: 30%;
    background: var(--secondary);
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 1.5rem;
  }
}
.navbar.show-bg {
  background: rgba(250, 250, 250, 0.98);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.102);
}
@media screen and (max-width: 768px) {
  .navbar.show-bg-mob {
    background: rgba(250, 250, 250, 0.99);
  }
}

.location {
  padding: 1rem;
  background: var(--secondary);
  margin-top: -1px;
}
.location__container {
  max-width: 38rem;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .location__container {
    padding: 1rem;
    max-width: 100%;
  }
  .location__container p {
    max-width: 20rem;
  }
  .location__container .location__icon {
    margin-top: -4.5rem;
  }
}
.location__text {
  display: inline-block;
}
.location__icon {
  display: inline-block;
  margin-top: -3.5rem;
}

.doorstep {
  padding: 8rem 0 4rem;
  position: relative;
  overflow-x: hidden;
}
.doorstep .img-holder {
  display: flex;
  position: relative;
  align-items: center;
  overflow-y: visible;
  max-height: 440px;
}
.doorstep .img-holder img {
  margin: auto 4rem auto auto;
  height: 100%;
  max-width: 380px;
  width: 100%;
}
@media screen and (max-width: 992px) {
  .doorstep .img-holder img {
    margin: auto 2rem auto auto;
  }
}
.doorstep:after {
  content: "";
  height: 100%;
  width: 300px;
  background-image: url("../img/transparent rect.png");
  position: absolute;
  top: 0;
  left: 25%;
  z-index: -1;
}
@media screen and (max-width: 992px) {
  .doorstep:after {
    left: 18%;
    width: 260px;
  }
}
@media screen and (max-width: 882px) {
  .doorstep:after {
    left: 15%;
    width: 250px;
  }
}
@media screen and (max-width: 768px) {
  .doorstep:after {
    left: 97%;
    width: 3%;
  }
}
@media screen and (max-width: 768px) {
  .doorstep {
    padding: 8rem 0;
  }
}

.services {
  padding: 8rem 0;
  background: rgba(0, 0, 0, 0.05);
}
.services .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1rem;
  row-gap: 4rem;
  margin-top: 5rem;
}
@media screen and (max-width: 1199px) {
  .services .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 576px) {
  .services .cards {
    grid-template-columns: repeat(1, 1fr);
  }
}
.services .cards .service-card {
  background: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease-out;
  border-radius: 0.5rem;
}
.services .cards .service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  box-shadow: 0 1rem 40px rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
}
.services .cards .service-card__icon {
  margin-top: -6.2rem;
}
.services .cards .service-card p {
  margin: auto;
}
.services .cards .service-card:hover {
  transform: translateY(-0.5rem) scale(1.02);
  z-index: 10;
}
.services .cards .service-card:hover:before {
  box-shadow: 0 1rem 60px rgba(0, 0, 0, 0.17);
}
.worked-with {
  padding: 3rem 0;
  background: linear-gradient(to right, rgba(1, 1, 74, 0.85), rgba(1, 1, 74, 0.85)), url("../img/worked-with-bg.png");
  background-size: cover;
  color: #fff;
}
.worked-with h2 {
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}
.worked-with > * .text {
  text-transform: uppercase;
  padding: 1rem 2rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
@media screen and (max-width: 576px) {
  .worked-with > * .text {
    font-size: 12px;
  }
}
.worked-with .worked-with__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  background-repeat: none;
  column-gap: 1rem;
  row-gap: 1.3rem;
}
.worked-with .worked-with__cards > * {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.1);
  display: grid;
  place-content: center;
}

.me {
  font-size: 14px;
  background: #fdb644;
}
.me__name {
  font-size: 1.2rem;
  font-family: "Oswald";
}
.me__name a {
  color: #202020;
}
.me__name a:hover {
  color: crimson;
}

.contact-us {
  padding: 8rem 0;
  background: rgba(0, 0, 0, 0.05);
  position: relative;
}
.contact-us__card {
  box-shadow: 0 1rem 40px rgba(0, 0, 0, 0.12);
  padding: 3rem;
  background-color: #fff;
  border-radius: 0.5rem;
  max-width: 38rem;
  position: relative;
  margin: auto;
  border-top: 4px solid var(--secondary);
}
@media screen and (max-width: 575px) {
  .contact-us__card {
    padding: 2rem 2rem;
  }
}
.contact-us__card h2 {
  text-transform: uppercase;
  margin-top: 0rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0.5rem;
}
.contact-us__card input[type=text], .contact-us__card textarea {
  opacity: 0.8;
}
.contact-us__card input[type=submit] {
  text-transform: uppercase;
}
.contact-us__card label {
  margin-bottom: 0.2rem;
}
.contact-us__card .submit-group {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.contact-us__card.shrink {
  animation: shrink 0.3s ease-out forwards;
}
.contact-us__card.shrink img {
  display: none;
}
.contact-us img {
  position: absolute;
  bottom: 0;
  opacity: 0.7;
}
.contact-us #mail-box {
  width: 35%;
  right: 1rem;
  transform: rotateY(180deg);
  opacity: 1;
  top: -4rem;
}
@media screen and (max-width: 575px) {
  .contact-us #mail-box {
    top: -3rem;
  }
}
.contact-us #flower1 {
  width: 20%;
  opacity: 0.4;
}
.contact-us #flower2 {
  width: 12%;
  right: 5%;
  opacity: 0.4;
}
.contact-us .sent {
  display: none;
  justify-content: center;
}
.contact-us .sent.show {
  display: flex;
}
.contact-us .sent #envelope {
  margin-left: 10rem;
  position: relative;
  animation: slideup 0.4s 0.25s cubic-bezier(0.53, 0.56, 0.35, 1.1) forwards;
  height: 100%;
  width: 140px;
  transform: translate(0, 3rem);
}
@media screen and (max-width: 470px) {
  .contact-us .sent #envelope {
    margin-left: 9rem;
  }
}
@media screen and (max-width: 470px) {
  .contact-us .sent #envelope {
    margin-left: 33%;
  }
}
.contact-us .sent #correct {
  position: relative;
  left: -4rem;
  bottom: -2rem;
  width: 112px;
  height: 112px;
  animation: pop 0.4s 0.5s cubic-bezier(0.53, 0.56, 0.35, 1.1) forwards;
  transform: scale(0);
  opacity: 1;
}
@media screen and (max-width: 470px) {
  .contact-us .sent #correct {
    bottom: -2rem;
    left: -4rem;
  }
}
@media screen and (max-width: 390px) {
  .contact-us .sent #correct {
    bottom: -1.5rem;
  }
}

.footer {
  background: #01014a;
  padding: 5rem 0;
}
.footer h3 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.footer__sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 767px) {
  .footer__sections {
    grid-template-columns: 1fr;
  }
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  padding: 0;
}
.footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0 0.5rem 0.5rem;
}
.footer ul li a:hover {
  color: #fff;
}

/*# sourceMappingURL=style.css.map */
