@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Oswald&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 200rem;
  margin: 0 auto;
}

/* Navigation Styling */
.nav {
  z-index: 4;
  position: fixed;
  background-color: #131313;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.3s ease-in-out;
}

.nav .container {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 7.5rem;
  transition: all 0.3s ease-in-out;
}

#nav-contact {
  display: flex;
}

#mobile-nav {
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
}

#menu-btn {
  height: 7.5rem;
  width: 4rem;
  cursor: pointer;
  display: none;
  padding: 0;
}

#hamburger {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.top-line,
.center-line,
.bottom-line {
  height: 0.1rem;
  background-color: #ffffff;
  margin: 0.2rem 0 0.2rem 0;
}

.top-line {
  width: 2.3rem;
}

.center-line {
  width: 1.5rem;
}

.bottom-line {
  width: 3rem;
}

#menu-btn:hover .top-line {
  animation: topLine 0.4s infinite ease alternate-reverse;
  animation-delay: -0.4s;
}

#menu-btn:hover .center-line {
  animation: centerLine 0.4s infinite ease-in-out alternate-reverse;
  animation-delay: -0.4s;
}

#menu-btn:hover .bottom-line {
  animation: bottomLine 0.4s infinite ease-in-out alternate-reverse;
  animation-delay: -0.4s;
}

@keyframes topLine {
  from {
    width: 2.3rem;
  }
  to {
    width: 2.8rem;
  }
}

@keyframes centerLine {
  from {
    width: 1.5rem;
  }
  to {
    width: 3rem;
  }
}

@keyframes bottomLine {
  from {
    width: 3rem;
  }
  to {
    width: 1.5rem;
  }
}

.nav .logo {
  width: 12rem;
  height: 3rem;
  background-image: url('/img/navLogo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.nav .nav-links {
  display: flex;
}

.nav .nav-links .bracket {
  height: 2rem;
  width: 0.1rem;
  margin: 0 1rem 0 1rem;
  min-height: auto;
  min-width: auto;
  background-color: #969696;
  opacity: 30%;
}

.nav ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav .phone {
  display: inline-block;
  font-weight: 700;
  line-height: 3.2rem;
  color: #ffffff;
  background-color: #db0000;
  text-decoration: none;
  padding: 0 1rem 0 1rem;
  margin: 0 0 0 1.6rem;
  min-height: auto;
  min-width: auto;
  border-radius: 5rem;
  font-size: 1.4rem;
}

.nav .fa-facebook,
.nav .fa-phone-alt {
  font-size: 1.4rem;
}

.nav .button {
  display: inline-block;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 7.5rem;
  padding: 0 2rem 0 2rem;
  text-transform: uppercase;
  text-decoration: none;
  word-spacing: 0;
  text-align: left;
  background-image: linear-gradient(#ff3030, #ff3030);
  background-size: 0 0.2rem, auto;
  background-repeat: no-repeat;
  background-position: center top;
  transition: all 0.2s ease-in-out;
}

.button:hover {
  background-size: 100% 0.2rem, auto;
}

.nav.active {
  background-color: #000000;
}

.nav.active .container,
.nav.active .button {
  line-height: 5.5rem;
}

.nav .button.current,
.nav .button:hover {
  color: #ff3030;
}

/* Header Section */
.header {
  background-image: url('/img/headerBackground.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 100vh;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
  z-index: -2;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 5.6rem;
  margin: -2rem 0 2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 3.4rem;
  margin: -2rem 0 2rem;
  padding: 2rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  font-weight: 400;
}

.header p {
  font-size: 2.4rem;
  letter-spacing: 0.6rem;
}

/* About Section Styling */
.about {
  height: 100vh;
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    'box1 box2 box3'
    '. box2 box3';
  gap: 5rem;
}

.about.container {
  margin-bottom: 10rem;
}

.about-company {
  grid-area: box1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
}

.about-img {
  grid-area: box2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.about-description {
  grid-area: box3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 3rem 1rem;
}

.about-company h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #000000;
}

.about-company p {
  font-size: 2.2rem;
  color: #505050;
  font-weight: 200;
  padding: 2rem 0;
}

.about-img img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.about-description p {
  font-size: 2.2rem;
  color: #505050;
  letter-spacing: 0.1rem;
}

.about-company .about-phone {
  display: none;
}

/* Services Section */
.services.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10rem;
}

.service-box {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70rem;
  height: 35rem;
  margin: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0.2rem 0.4rem 0.5rem rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s ease-in-out;
}

.service-box:nth-of-type(even) {
  transform: translateX(-100%);
}

.service-box.show {
  transform: translateX(0);
  opacity: 1;
}

.service-img {
  width: 100%;
  height: 100%;
}

.service-img img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  object-fit: cover;
}

.service-description {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 0 0 0 5rem;
/*  border-bottom-right-radius: 1.5rem;
  border-top-right-radius: 1.5rem;*/
}

.service-description ul {
  list-style: none;
}

.service-description ul li {
  padding: 0.5rem;
}

.service-description ul li i {
  color: #c31f1f;
  margin-right: 0.5rem;
}

.service-description h4 {
  font-size: 2rem;
  color: #1b1b1b;
}

.service-description p {
  font-size: 1.8rem;
  color: #9d9d9d;
}



.service-description_2 p {
      width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /*justify-content: space-evenly;*/
  align-items: flex-start;
  padding: 0 0 10rem 10rem;
/*  border-bottom-right-radius: 1.5rem;
  border-top-right-radius: 1.5rem;*/
   font-size: 2.2rem;
  color: #505050;
  letter-spacing: 0.1rem;
}

/* Contact Section */
.contact.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

.contact-form {
  margin: auto;
  width: 50%;
  height: 80%;
  box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.1);
}

.img-form {
  background-image: url('/img/formImage.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.6);
}

.img-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.form-details {
  width: 80%;
  height: 80%;
  z-index: 3;
  position: absolute;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.img-top,
.img-bottom,
.img-info,
.img-schedule {
  height: 100%;
  width: 100%;
}

.img-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img-top,
.img-info,
.img-schedule {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
}

.img-group {
  padding-left: 2rem;
  display: flex;
}

.social-text a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.6rem;
}

.form-details h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 200;
  font-size: 2rem;
}

.form-details h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 200;
  font-size: 1.9rem;
}

.form-details i {
  height: 100%;
  font-size: 1.6rem;
  width: 4rem;
  margin-top: 0.4rem;
}

.form-details p {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-details p span {
  font-size: 1.6rem;
  font-weight: 900;
  color: #db0000;
}

/* Footer */
footer {
  width: 100vw;
  height: 20vh;
  background-color: #161616;
  overflow-y: hidden;
}

.footer {
  width: 114rem;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.footer-bottom {
  height: 15%;
  width: 100%;
  margin: auto;
  border-top: 0.1rem solid #242424;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#schedule {
  color: #c31f1f;
}

.footer-bottom-left,
.footer-bottom-right {
  font-size: 1.4rem;
  color: #626262;
  padding: 2.5rem 0 0 0;
}

.footer-bottom-right a {
  font-size: 1.4rem;
  color: #626262;
  text-decoration: none;
}

.footer-bottom-right a:hover {
  color: #888888;
  text-decoration: underline;
}

/* Media Queries */
/* Smartphones and Tablets*/
@media (min-width: 300px) and (max-width: 700px) {
  /* Navigation */
  .nav .nav-links {
    height: 100vh;
    width: 60vw;
    top: 0;
    left: 0;
    position: absolute;
    display: block;
    background-color: #2d2d2d;
    padding: 2rem 0 2rem 0;
    transform: translateX(-400%);
    transition: transform 0.5s ease-in-out;
  }

  .nav .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav .nav-links ul li {
    width: 100%;
    border: 0;
    border-bottom: rgba(150, 150, 150, 0.1) solid 0.1rem;
    height: 5rem;
  }

  .nav #nav-contact .phone,
  .nav .nav-links ul li .button {
    width: 100%;
    height: 100%;
    font-weight: 200;
    display: flex;
    align-items: center;
  }

  .nav .nav-links ul li .button {
    color: #8c8c8c;
  }

  .nav .nav-links ul li .button:hover {
    background: #373737;
    color: #ffffff;
  }

  #mobile-logo {
    width: 12rem;
    height: 3rem;
    background-image: url('/img/navLogo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 2rem;
  }

  .bracket {
    display: none;
  }

  .nav .nav-links ul li:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .nav .nav-links ul li a:hover {
    background-color: #373737;
  }

  #nav-contact {
    width: 100%;
  }

  #nav-contact li {
    display: flex;
    align-items: center;
  }

  #nav-contact li a i {
    font-size: 2rem;
  }

  .nav #nav-contact .phone {
    padding: 0.3rem 0;
    width: 14rem;
    height: 3.5rem;
    margin-right: 2rem;
    color: #ffffff;
    font-size: 1.4rem;
  }
  .nav #nav-contact .phone i {
    padding: 0 1rem;
    font-size: 1.4rem;
  }

  .nav .nav-links.show {
    transform: translateX(0);
  }

  #mobile-nav.show {
    opacity: 1;
    pointer-events: all;
  }

  #menu-btn {
    display: block;
    z-index: 6;
  }

  #menu-btn:hover {
    opacity: 0.8;
  }

  /* Header */
  .header h1 {
    font-size: 3.8rem;
    letter-spacing: 0;
  }

  .header h3 {
    font-size: 2.6rem;
    letter-spacing: 0.2rem;
  }

  .header p {
    font-size: 1.8rem;
    padding: 1rem;
    letter-spacing: 0.4rem;
  }

  /* About Section */
  .about {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      'box2 box1'
      'box3 box3';
    gap: 0;
  }

  .about-company,
  .about-img,
  .about-description {
    padding: 0;
  }

  .about-company {
    justify-content: center;
    align-items: center;
  }

  .about-company h2 {
    font-size: 2.8rem;
    padding: 2rem 2rem;
  }

  .about-company p {
    font-size: 1.8rem;
    padding: 1rem 3rem;
  }

  .about-company a.about-phone {
    display: inline-block;
    font-weight: 700;
    line-height: 3.2rem;
    color: #ffffff;
    background-color: #000;
    text-decoration: none;
    padding: 0 1rem 0 1rem;
    margin-top: 4rem;
    min-height: auto;
    min-width: auto;
    border-radius: 0.6rem;
    font-size: 1.4rem;
    box-shadow: 0.2rem 0.4rem 0.5rem rgba(0, 0, 0, 0.3);
  }

  .about-img img {
    width: 85%;
    height: 75%;
    object-fit: cover;
  }

  .about-description p {
    font-size: 1.4rem;
    padding: 0 3rem;
    font-weight: 900;
  }

  /* Services */
  .service-box {
    flex-direction: column;
    width: 30rem;
    height: 40rem;
  }

  .service-img {
    width: 30rem;
    height: 20rem;
  }

  .service-img img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 0;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 0;
    object-fit: cover;
  }

  .service-description {
    padding: 2rem;
  }

  .service-description h4 {
    font-size: 1.7rem;
  }

  .service-description p {
    font-size: 1.3rem;
    font-weight: 900;
  }

  /* Img Form */
  .contact-form {
    width: 80%;
    height: 80%;
  }

  .img-top {
    display: none;
  }

  .form-details {
    width: 90%;
    height: 90%;
  }

  .img-bottom {
    flex-direction: column;
  }

  .img-info {
    justify-content: center;
  }

  .img-info .img-group {
    padding: 0.8rem;
  }

  .img-schedule i,
  .img-schedule a {
    display: none;
  }

  .img-bottom p,
  .img-bottom a {
    font-size: 1.5rem;
  }

  .img-bottom .img-info span,
  .img-bottom .img-schedule span {
    font-size: 1.4rem;
  }

  /* Footer */
  footer {
    height: 100%;
  }

  .footer {
    width: 30rem;
    height: 100%;
  }

  .footer-bottom {
    height: 20rem;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .footer-bottom-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-bottom p,
  .footer-bottom a {
    padding: 1rem 0;
  }
}

/* Normal Screens */
@media (min-width: 701px) and (max-width: 990px) {
  /* Navigation */
  .nav .nav-links {
    height: 100vh;
    width: 40vw;
    top: 0;
    left: 0;
    position: absolute;
    display: block;
    background-color: #2d2d2d;
    padding: 2rem 0 2rem 0;
    transform: translateX(-400%);
    transition: transform 0.5s ease-in-out;
  }

  .nav .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav .nav-links ul li {
    width: 100%;
    border: 0;
    border-bottom: rgba(150, 150, 150, 0.1) solid 0.1rem;
    height: 5rem;
  }

  .nav #nav-contact .phone,
  .nav .nav-links ul li .button {
    width: 100%;
    height: 100%;
    font-weight: 200;
    display: flex;
    align-items: center;
  }

  .nav .nav-links ul li .button {
    color: #8c8c8c;
  }

  .nav .nav-links ul li .button:hover {
    background: #373737;
    color: #ffffff;
  }

  #mobile-logo {
    width: 12rem;
    height: 3rem;
    background-image: url('/img/navLogo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 2rem;
  }

  .bracket {
    display: none;
  }

  .nav .nav-links ul li:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .nav .nav-links ul li a:hover {
    background-color: #373737;
  }

  #nav-contact {
    width: 100%;
  }

  #nav-contact li {
    display: flex;
    align-items: center;
  }

  #nav-contact li a i {
    font-size: 2rem;
  }

  .nav #nav-contact .phone {
    padding: 0.3rem 0;
    width: 14rem;
    height: 3.5rem;
    margin-right: 2rem;
    color: #ffffff;
    font-size: 1.4rem;
  }
  .nav #nav-contact .phone i {
    padding: 0 1rem;
    font-size: 1.4rem;
  }

  .nav .nav-links.show {
    transform: translateX(0);
  }

  #mobile-nav.show {
    opacity: 1;
    pointer-events: all;
  }

  #menu-btn {
    display: block;
    z-index: 6;
  }

  #menu-btn:hover {
    opacity: 0.8;
  }

  /* Header */
  .header h1 {
    font-size: 4rem;
    letter-spacing: 0;
  }

  .header h3 {
    font-size: 2.8rem;
    letter-spacing: 0.2rem;
  }

  .header p {
    font-size: 2rem;
    padding: 1rem;
    letter-spacing: 0.4rem;
  }

  /* About Section */
  .about {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      'box2 box1'
      'box3 box3';
    gap: 0;
  }

  .about-company,
  .about-img,
  .about-description {
    padding: 0;
  }

  .about-company h2 {
    font-size: 3rem;
    padding: 2rem 2rem;
  }

  .about-company p {
    font-size: 2rem;
    padding: 1rem 3rem;
  }

  .about-img img {
    width: 85%;
    height: 75%;
    object-fit: cover;
  }

  .about-description {
    align-items: flex-start;
  }

  .about-description p {
    font-size: 1.7rem;
    padding: 0 10rem;
    font-weight: 900;
  }

  /* Services */
  .service-box {
    flex-direction: column;
    width: 40rem;
    height: 50rem;
  }

  .service-img {
    width: 40rem;
    height: 25rem;
  }

  .service-img img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 0;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 0;
    object-fit: cover;
  }

  .service-description {
    padding: 2rem;
  }

  .service-description h4 {
    font-size: 1.9rem;
  }

  .service-description p {
    font-size: 1.7rem;
    font-weight: 200;
  }

  /* Img Form */
  .contact-form {
    width: 80%;
    height: 80%;
  }

  .img-top {
    display: none;
  }

  .form-details {
    width: 90%;
    height: 90%;
  }

  .img-bottom {
    flex-direction: column;
  }

  .img-info {
    justify-content: center;
    align-items: flex-start;
  }

  .img-info .img-group {
    padding: 1rem;
    margin-left: 30%;
  }

  .img-bottom p,
  .img-bottom a {
    font-size: 1.8rem;
  }

  .img-bottom .img-info span,
  .img-bottom .img-schedule span {
    font-size: 1.6rem;
  }

  /* Footer */
  footer {
    height: 100%;
  }

  .footer {
    width: 50rem;
    height: 100%;
  }

  .footer-bottom {
    height: 20rem;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .footer-bottom-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-bottom p,
  .footer-bottom a {
    padding: 1rem 0;
  }
}

@media (min-width: 991px) and (max-width: 1230px) {
  /* Navigation */
  .nav .phone {
    font-weight: 200;
    padding: 0 0.8rem 0 0.8rem;
  }

  .nav .fa-phone-alt {
    font-size: 1.3rem;
  }

  /* About Section */
  .about {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      'box2 box1'
      'box3 box3';
    padding: 2rem;
  }

  .about-description {
    padding: 0 8rem;
  }

  /* Services */
  .services {
    margin-top: 35rem;
  }

  .service-box {
    width: 60rem;
    height: 30rem;
    margin: 4rem;
  }

  .service-description p {
    font-size: 1.6rem;
  }

  /* Img Form */
  .contact-form {
    width: 80%;
    height: 80%;
  }

  .img-bottom p,
  .img-bottom a {
    font-size: 1.6rem;
  }

  .img-bottom .img-info span,
  .img-bottom .img-schedule span {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer.container {
    width: 100%;
  }

  .footer-bottom {
    width: 90%;
  }
}

/* Laptops */
@media (min-width: 1231px) and (max-width: 1530px) {
  /* Services */
  .service-box {
    width: 55rem;
    height: 30rem;
    margin: 4rem;
  }

  .service-description {
    padding: 0 0 0 3rem;
  }

  .service-description p {
    font-size: 1.5rem;
  }

  /* Img Form */
  .contact-form {
    width: 80%;
    height: 80%;
  }
}
