/* font-family: "proxima-nova", sans-serif;
font-weight: 100, 300, 400, 500, 600, 700, 800 ,900;
font-style: normal; */

:root {
  --primary-color: rgba(0, 52, 109);
  --secondary-color: rgba(235, 60, 72);
  --overlay-color: rgba(24, 39, 51, 0.85);
  --menu-speed: 0.75s;
  --regular: 400;
  --medium: 500;
  --semibold: 600;
  --bold: 700;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'proxima-nova', sans-serif;
  line-height: 1.4;
  margin: 0;
}
.hdd-container {
  max-width: 1920px;
  overflow: hidden;
  margin: 0 auto;
}
.hdd-container * {
  box-sizing: border-box;
}
.hdd-container > *:not(nav):not(.nav-box):not(.mob-nav) {
  margin-bottom: 2rem;
}
.hdd-inner-container > * {
  margin-bottom: 2rem;
}

.hdd-container img {
  width: 100%;
  display: block;
}
.hdd-container a {
  text-decoration: none;
}
.hdd-container p {
  font-weight: var(--regular);
}
.hdd-inner-container {
  max-width: 1300px;
  margin: 0 auto;
}
/* COMPANY LOGO */
.hdd-johnny-logo a {
  color: var(--primary-color);
  font-weight: var(--bold);
  letter-spacing: 2px;
  display: inline-block;
}
.hdd-johnny-logo span {
  color: var(--secondary-color);
}
.hdd-johnny-logo a:hover {
  color: var(--secondary-color);
}
.hdd-johnny-logo a:hover span {
  color: var(--primary-color);
}

/* BUTTONS */
.btn {
  text-align: center;
  display: block;
  border: none;
  font-weight: var(--bold);
  font-size: 1.3rem;
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  transition: all 500ms ease-in-out;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--secondary-color);
}
/* NAVIGATION MOBILE */
.mob-nav {
  width: 20px;
  height: 20px;
  position: absolute;
  transform: rotate(0deg);
  z-index: 9999;
  right: 20px;
  top: 20px;
  display: none;
}
.line-top,
.line-middle,
.line-bottom {
  width: 20px;
  height: 4px;
  background-color: var(--primary-color);
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1s ease;
}
.line-middle {
  transform: translateY(7px);
}
.line-bottom {
  transform: translateY(14px);
}

.move {
  transform: rotate(0);

  transition: all 1s ease;
}
.move .line-top {
  transform: rotate(45deg) translateX(6px) translateY(6px);
  background-color: #ffffff;
  transition: all 1s ease;
}
.move .line-middle {
  opacity: 0;
}
.move .line-bottom {
  transform: rotate(-45deg) translateX(-6px) translateY(6px);
  background-color: #ffffff;
  transition: all 1s ease;
}
.mob-nav-items {
  background-color: var(--primary-color);
  opacity: 0;
  transition: all 1s ease;
  transform: translateX(30px);
  padding: 1rem;
  position: absolute;
  top: -10px;
  right: -95px;
  z-index: 1000;
}
.mob-nav-items li a {
  padding: 0.3rem 0;
  color: #ffffff;
  display: inline-block;
}

.mob-nav-items {
  list-style: none;
}
.mob-nav-items li {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s ease;
}
.mob-nav-items-opened {
  transform: translate(-95px, 0px);
  opacity: 1;
}
.mob-nav-items-opened li {
  opacity: 1;
  transform: translateX(0px);
}
/* NAVIGATION */
#nav {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: 70px;
  transition: 0.5s;
}

.nav-box {
  height: 70px;
}

nav .desk-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .desk-nav li {
  display: inline-block;
}
nav a {
  padding: 5px 15px;
  color: var(--primary-color);
  font-weight: var(--semibold);
}
nav a:hover {
  color: var(--secondary-color);
}
nav a:hover span {
  color: var(--primary-color);
}
nav li.current {
  border-bottom: 2px solid var(--secondary-color);
}
nav#nav .emergency-call {
  background-color: var(--secondary-color);
  color: #ffffff;
  border-radius: 50px;
}
nav#nav .emergency-call a{
  color: #ffffff;
  display: inline-block;
}
.hero-brightness {
  filter: brightness(1);
}
/* HERO */

.hdd-hero {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hdd-hero h1 {
  font-weight: var(--bold);
  font-size: 3rem;
  color: #ffffff;
  letter-spacing: 0.5rem;
  line-height: 1;
  position: absolute;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(0, 0, 0, 1);
}
.hdd-hero h1 span {
  font-weight: var(--regular);
  display: block;
}
.hdd-subtitle {
  text-align: center;
  padding: 0 2rem;
  line-height: 1.7;
}
.hdd-text-banner {
  color: #ffffff;
  background-color: var(--primary-color);
  position: relative;
  margin: 3rem 0rem 3rem 10rem;
  padding: 0.5rem 2rem;
}
.hdd-text-banner h2 {
  margin: 0;
}
.hdd-text-banner::after {
  content: '';
  position: absolute;
  background-color: var(--secondary-color);
  height: 6px;
  width: 98%;
  bottom: 0;
  right: 0;
  transform: translateY(100%);
}
.hdd-para-container {
  display: flex;
}

.hdd-para-container:nth-of-type(even) .hdd-para-imgs-container {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 12px;
}

.hdd-para-imgs-container {
  width: 100%;
}
.hdd-para {
  width: 75%;
}
.hdd-para-imgs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 5px;
}

.hdd-para-imgs-container img:first-child {
  grid-column: span 2;
}

.hdd-para {
  padding: 0 3rem;
  line-height: 1.7;
}

.hdd-para h3 {
  font-weight: var(--bold);
  color: var(--secondary-color);
  margin-bottom: 0rem;
  text-transform: uppercase;
}
.hdd-para p {
  margin-top: 0rem;
  margin-bottom: 3rem;
}
.hdd-container hr {
  background-color: var(--primary-color);
  margin: 0;
}
#footer {
  font-weight: var(--bold);
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
}
#footer .hdd-contact-footer-info p {
  margin: 0.3rem 0;
}
#footer .hdd-contact-footer-info p a {
  font-weight: var(--bold);
  color: var(--primary-color);
}
#footer .hdd-privacy-policy p a {
  color: var(--primary-color);
  font-weight: var(--bold);
}
/* Privacy OL */
#privacy-policy {
  padding: 1rem 2rem;
}
/* SERVICES=============== */
.services-container-wrapper {
  background-color: #f9f9f9;
  padding: 1.25rem 0;
}
.services-container-wrapper .hdd-subtitle{
  width: 50%;
  margin: 1rem auto 2.5rem;
}
.services-container-wrapper .hdd-subtitle > *{
  margin: 0 0 0.25rem;
}
.services-container-wrapper .hdd-subtitle h2{
  font-size: 32px;
  line-height: initial;
}
.services-container-wrapper .hdd-subtitle p{
  opacity: 0.4;
}

.services-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.25rem 1.5rem 1.25rem; 
  gap: 25px;
}
.services-card{
  padding: 0.8rem;
  border-radius: 8px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.1), -10px -10px 10px rgba(255,255,255,1);
}
.services-card > *{
  margin: 0 0 0.65rem;
}
.services-card p{
  opacity: 0.4;
}
.services-card .service-icon{
  width: 40px;
  background-color: #ebf7fd;
  padding: 0.25rem;
  border-radius: 12px;
   box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ======== SUBMIT =========== */

.toast-thank-you {
  height: calc(100vh - 250px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.toast-thank-you h1 {
  margin: 0 auto;
  color: var(--primary-color);
}

@media (max-width: 1100px) {
  .hdd-para-container:last-of-type {
    flex-direction: column;
  }
  .hdd-para-container:last-of-type .hdd-para {
    width: 100%;
  }
    /* SERVICES */
  .services-container-wrapper .hdd-subtitle {
    width: 95%;
  }
}

@media (max-width: 823px) {
  #nav {
    padding: 1rem 0.2rem;
    justify-content: flex-start;
  }
  #nav .desk-nav {
    display: none;
  }
  .mob-nav {
    display: block;
  }

  .hdd-hero h1 {
    font-size: 2.2rem;
  }
  .hdd-subtitle {
    text-align: left;
  }
  .hdd-text-banner {
    margin-left: 2rem;
    font-size: 0.8rem;
    margin: 2rem 0rem 2rem 2rem;
  }

  .hdd-para-container {
    flex-direction: column;
  }
  .hdd-para-container:nth-of-type(even) .hdd-para {
    padding: 0 1rem;
    order: 1;
  }
  .hdd-para {
    width: 100%;
    padding: 0 1rem;
  }
  #footer {
    flex-direction: column;
  }
  #privacy-policy {
    padding: 1rem 0.5rem;
  }
  .services-container-wrapper{
    margin-bottom: 0;
    padding: 1.25rem 0 2rem;
  }
  
}

@media (max-width: 700px) {
   #nav {
    flex-direction: column;
    height: auto;
  }
  .nav-box{
    height: 96px;
  }
  .hdd-para p,
  .hdd-subtitle p {
    font-size: 0.875rem;
    line-height: 1.4;
  }
  /* SERVICES */
  .services-container-wrapper .hdd-subtitle{
  padding: 0 1rem;
}
  .services-container-wrapper{
    padding: 0.75rem 0.75rem 2rem;
  }
  .services-container{
    padding: 0rem 1rem;
      grid-template-columns: repeat(2, 1fr);
  }
   .services-container > :nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .services-container-wrapper .hdd-subtitle {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .hdd-hero h1 {
    font-size: 1.5rem;
  }
   .services-container{
    padding: 0rem 1rem;
      grid-template-columns: repeat(1, 1fr);
  }

}
@media (max-width: 400px) {

  #nav{
    align-items: flex-start;
    font-size: 14px;
  }
  .hdd-hero h1 {
    font-size: 1.2rem;
  }
  .hdd-text-banner h2 {
    font-size: 1rem;
  }

}
