/*

colors RED: #e74229 BLUE: #233070 GREY: #575456
*/

:root {
  --red: #e74229;
  --blue: #233070;
  --grey: #ccc;
  --font: "Montserrat", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 10px;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--blue);
}
.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
p {
  color: rgb(19, 19, 19);
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
}
.fas,
.fab {
  font-size: 2.5rem;
  color: rgb(19, 19, 19);
  color: var(--blue);
  color: var(--red);
}
.bags {
  font-size: 1.6rem;
  text-align: right;
  width: 100%;
  margin-top: 1.6rem;
}
.alt-bg {
  background-color: #19222c0d;
}
.brand-text-color-primary {
  color: var(--red);
}
.brand-text-color-secondary {
  color: var(--blue);
}
.brand-text-color-dark {
  color: var(--grey);
}
.brand-text-color-light {
  color: var(--light);
}
.section-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: center;
  margin: 3rem 0 1rem 0;
}
.section-title span {
  color: var(--red);
}
.cta,
.cta-red {
  text-align: center;
  border: 1px solid transparent;
  display: inline-block;
  font-size: 2.5rem;
  padding: 16px 24px;
  color: transparent;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 3rem;
  transition: 0.3s ease;
  transition-property: background-color;
  width: 90%;
  border-radius: 2em;
}
.cta:hover,
.cta-red:hover {
  color: white;
  background-color: var(--red);
  border: 1px solid var(--blue);
}
#header .brand img {
  margin: 2vh 0 1.5vh 0;
  width: 265px;
  max-width: 60vw;
  transition: all 0.25s ease-in-out;
}
/* Header section */
#header {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100px;
}
#header .header {
  min-height: 6vh;
  background-color: transparent;
  transition: 0.3s ease background-color;
}
#header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  padding: 0 5vw;
}
#header .nav-list ul {
  list-style: none;
  position: absolute;
  background-color: #233070;
  background-color: var(--blue);
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.25s ease left;
}
#header .nav-list ul.active {
  left: 0%;
}
#header .nav-list ul.active a {
  color: white;
}
#header .nav-list ul a {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.2rem;
  text-decoration: none;
  color: var(--blue);
  text-transform: uppercase;
  padding: 0.5vh 0.5vw;
  display: block;
  margin: 0.5vh;
}
#header .nav-list ul a::after {
  content: attr(data-after);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--red);
  font-size: 13rem;
  letter-spacing: 50px;
  z-index: -1;
  transition: 0.3s ease letter-spacing;
}
#header .nav-list ul li:hover a,
#header .nav-list ul li a.active {
  color: var(--red);
}
#header .hamburger {
  background-color: rgba(255, 255, 255, 0.5);
  height: 60px;
  width: 60px;
  display: inline-block;
  border: 3px solid var(--blue);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transform: scale(0.8);
}
#header .hamburger:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--red);
  animation: hamburger_puls 1s ease 3;
}
#header .hamburger .bar {
  height: 2px;
  width: 30px;
  position: relative;
  background-color: var(--blue);
  z-index: -1;
}
#header .hamburger .bar::after,
#header .hamburger .bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  background-color: white;
  background-color: var(--blue);
  transition: 0.3s ease;
  transition-property: top, bottom, color;
}
#header .hamburger .bar::after {
  top: 8px;
}
#header .hamburger .bar::before {
  bottom: 8px;
}
#header .hamburger.active .bar::before {
  bottom: 0;
}
#header .hamburger.active .bar::after {
  top: 0;
}
/* End Header section */
body {
  opacity: 1;
  transition: 1.7s opacity;
}
.fade {
  opacity: 0;
  transition: none;
}
#header .sticky {
  background: white;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

#header .sticky img {
  max-width: 66% !important;
}
/* home Section */
#home {
  background-image: url(img/skip-test-image.jpg);
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  position: relative;
  max-width: 100vw;
  z-index: 2;
}

#home::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #d0d4e6;
  opacity: 0.6;
  z-index: -1;
}

#home .home {
  margin: 0 auto;
}

#home h1,
#home h2 {
  display: block;
  width: fit-content;
  font-size: 3.2rem;
  position: relative;
  letter-spacing: 0.2rem;
  color: transparent;
  text-align: center;
  animation-delay: 1s;
}

#home h1:nth-child(1) {
  animation: text_reveal_white 0.5s ease forwards;
  animation-delay: 1s;
}
#home h2:nth-child(2) {
  animation: text_reveal_blue 0.5s ease forwards;
  animation-delay: 2s;
}
#home h2:nth-child(3) {
  animation: text_reveal_red 0.5s ease forwards;
  animation-delay: 3s;
}
#home h1 span.slide,
#home h2 span.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--red);
  animation: text_reveal_box 1s ease;
  animation-delay: 0.5s;
}
#home h1:nth-child(1) span {
  animation-delay: 0.5s;
}
#home h2:nth-child(2) span {
  animation-delay: 1.5s;
}
#home h2:nth-child(3) span {
  animation-delay: 2.5s;
}
#home .cta,
#about .cta {
  animation: button_reveal 1.5s ease forwards;
  animation-delay: 3s;
}
#home .cta-red,
#about .cta-red {
  animation: button_reveal_red 1.5s ease forwards;
  animation-delay: 3.5s;
}

/* End home Section */

/* Services Section 

#skip-hire {
  background-image: url(img/CAMERON-DALZIEL-LTD-LOGO---ICON-trimmed.png);
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}
*/
#skip-hire::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.9;
  z-index: -1;
}

#skip-hire .services {
  flex-direction: column;
  margin: -6rem auto 0px auto;
  padding-top: 10rem;
}
#skip-hire .service-top {
  display: flex;
  flex-direction: column-reverse;
  max-width: 1200px;
}
.service-img {
  padding: 4rem;
}
#skip-hire .service-bottom {
  padding: 8vh 0vw;
  background-color: var(--grey);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 5vw 0;
  background-image: url(img/skip-test-image.jpg);
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  position: relative;
  max-width: 100vw;
  z-index: 2;
}
#skip-hire .service-text {
  padding: 0 3rem;
  max-width: 80ch;

  margin: 0 auto;
}

#skip-hire .service-item {
  flex-basis: 80%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 3rem 3rem 6rem;
  border-radius: 10px;
  border: 3px solid var(--red);

  background-size: cover;
  margin: 10px 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#skip-hire .service-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  background-image: linear-gradient(
    60deg,
    hsl(240deg 51% 22%) 0%,
    hsl(230deg 51% 39%) 100%
  );
  opacity: 0.9;
  z-index: -1;
}
#skip-hire .service-bottom .icon {
  margin-bottom: 2rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}
#skip-hire .service-item h3,
.service-top h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.service-top h3 {
  color: var(--blue);
  line-height: 2.65rem;
  text-transform: none;
}
#skip-hire .service-item p {
  color: white;
  text-align: center;
}
/* End Services Section */

/* Projects section */
#skip-sizes .projects {
  flex-direction: column;
  margin: 0 auto;
  padding-top: 90px;
  max-width: 1200px;
}
#skip-sizes .all-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#skip-sizes .project-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 80%;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
}
#skip-sizes .project-info {
  padding: 2rem;
  flex-basis: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  background-image: linear-gradient(
    60deg,
    hsl(240deg 51% 22%) 0%,
    hsl(230deg 51% 39%) 100%
  );
  color: white;
}
#skip-sizes .project-info h3 {
  font-size: 3rem;
  font-weight: 500;
}
#skip-sizes .project-info h4 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 10px;
}
#skip-sizes .project-info p {
  color: white;
}
#skip-sizes .project-img {
  flex-basis: 50%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
#skip-sizes .project-img:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  /*background-image: linear-gradient(60deg, var(--red) 0%, var(--blue) 100%);*/
  background-image: linear-gradient(60deg, var(--grey) 0%, var(--blue) 100%);
  opacity: 0.3;
}
#skip-sizes .project-img img {
  transition: 0.3s ease transform;
}
#skip-sizes .project-item:hover .project-img img,
#skip-sizes .project-item:active .project-img img {
  transform: scale(1.1);
}

#skip-sizes .project-item:hover .project-img:after,
#skip-sizes .project-item:active .project-img:after {
  opacity: 0;
}

#skip-sizes th {
  background-color: var(--blue);
  color: white;
}
#skip-sizes td {
  color: var(--blue);
}
#skip-sizes tr:nth-child(odd) {
  background: rgb(227, 228, 240);
}
#skip-sizes tr:nth-child(even) {
  background: #fff;
}

/* End Projects section */

/* About Section */

#about .about {
  flex-direction: column-reverse;
  text-align: center;
  /*max-width: 90vw;*/
  margin: 0 auto;
  padding-top: 8vh;
}
#about .col-left {
  width: 80vw;
  min-height: 360px;
}
#about .col-right {
  max-width: 60ch;
  padding: 2rem;
  z-index: 10;
}
#about .col-right h3,
#faq h3 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}
#about .col-right p {
  margin-bottom: 2rem;
}
#about .col-right .cta,
#about .col-right .cta-red {
  margin-bottom: 50px;
  padding: 10px 20px;
  font-size: 2rem;
}
#about .col-left .about-img {
  position: relative;
  border: 10px solid white;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}
#about .col-left .about-img::after {
  content: "";
  position: absolute;
  left: -33px;
  top: 19px;
  height: 98%;
  width: 98%;
  border: 7px solid var(--red);
  z-index: -1;
}
/* End About Section */

/* New tab styles */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}
/* Accordion styles */
#faq .faq {
  font-size: 1.6em;
}

#faq .section-title {
  text-align: center;
}

#faq .faq-col {
  width: 100%;
  max-width: 700px;
}

#faq .tabs {
  margin: 0 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgb(0 0 0 / 50%);
}

.tab-label {
  font-family: inherit;
  font-size: inherit;
  color: white;
  line-height: 2em;
  display: flex;
  justify-content: space-between;
  padding: 1.5em;
  background: #2c3e50;
  background: var(--blue);
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.tab-label:hover {
  background: #1a252f;
  background-image: linear-gradient(
    60deg,
    hsl(230 52% 20% / 1) 0%,
    hsl(230 52% 30% / 1) 100%
  );
}
.tab-label::after {
  color: var(--red);
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  margin-left: 1rem;
}
.tab-content {
  padding: 2rem 2rem 3rem 2rem;
  line-height: 1.8em;
  color: #2c3e50;
  background: white;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}
.tab-content ul {
  margin: 2rem 0 3rem 0;
}

input:checked + .tab-label {
  background: #1a252f;
  background: #233070;
}
.tab-label.active::after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

/* End Accordion */

input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* Contact Section */

#contact .contact {
  flex-direction: column;
  /*max-width: 1200px;*/
  margin: -35px auto 0 auto;
  padding-top: 80px;
  min-height: 90vh;
}
#contact .contact-items {
  width: 100%;
}
#contact .contact-item {
  text-align: center;
  border-radius: 10px;
  padding: 3rem;
  margin: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease box-shadow;
  background-color: white;
}
#contact .contact-item:hover {
  box-shadow: 0px 0px 5px 0 #0000002c;
}
#contact .icon {
  width: 70px;
  margin: 0 auto;
  margin-bottom: 16px;
}
#contact .contact-info h3 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 5px;
}
#contact .contact-info h4 {
  font-size: 1.6rem;
  line-height: 2rem;
  font-weight: 600;
  color: var(--blue);
}

.google-maps {
  position: relative;
  padding-bottom: 50vh;
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100% !important;
  height: 50vh !important;
}
/*End contact Section */

/* Footer */
#footer {
  border-top: 1.5rem solid var(--red);
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  background-image: linear-gradient(
    60deg,
    hsl(230 52% 20% / 1) 0%,
    hsl(230 52% 30% / 1) 100%
  );
}
#footer .footer {
  min-height: 200px;
  flex-direction: column;
  text-align: center;
  padding-top: 10vh;
  padding-bottom: 0.75rem;
}
#footer .footer .brand {
  max-width: 50vw;
  background: white;
  padding: 0.5rem;
}
#footer h2 {
  color: white;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  padding: 2rem;
}

#footer .info {
  color: white;
  margin-bottom: 1rem;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 1rem;
  font-size: 1.4rem;
}
#footer .info > div {
  margin: 0.5rem 0.5rem;
}
#footer .social-icon {
  text-align: center;
  display: flex;
  margin: 1rem;
}
#footer .fas,
#footer .fab {
  font-size: 3.5rem;
  color: black;
  color: var(--red);
}

#footer .social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 5rem 0;
  width: 300px;
}
#footer .social-item img {
  filter: grayscale(1);
  transition: 0.3s ease filter;
  padding: 0 3rem;
}
#footer .social-item:hover img {
  filter: grayscale(0);
}
#footer p {
  color: white;
  font-size: 1.3rem;
}
/* End Footer */

/* Table */
.table-wrapper {
  margin-top: 2rem;
  text-align: center;
}
.header-cell,
.cell {
  border: 1px solid rgba(255, 255, 255, 0.333);
  border: 1px solid rgb(148 164 255 / 52%);
  padding: 5px 2px;
}
.table-wrapper,
.table {
  width: 100%;
  font-size: 1.4rem;
}
/* End Table */
/* Keyframes */
@keyframes hamburger_puls {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}
/* Front page text animation start */
@keyframes text_reveal_box {
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes text_reveal {
  100% {
    color: var(--blue);
  }
}
@keyframes text_reveal_white {
  100% {
    color: white;
  }
}
@keyframes text_reveal_red {
  100% {
    color: var(--red);
  }
}
@keyframes text_reveal_blue {
  100% {
    color: var(--blue);
  }
}
@keyframes button_reveal {
  100% {
    background: var(--blue);
    color: white;
    border: 1px solid var(--red);
  }
}
@keyframes button_reveal_red {
  100% {
    background: var(--red);
    color: white;
    border: 1px solid var(--red);
  }
}

/* End  Front page text animation */

/* Media Query For Tablet */
@media only screen and (min-width: 768px) {
  #header {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: auto;
  }
  #header .brand img {
    margin: 2rem 0 1rem 0;
    max-width: 60vw;
    width: 250px;
  }

  h2.section-title {
    font-size: 5rem;
    line-height: 5.5rem;
    margin-bottom: 1rem;
  }

  #faq .section-title {
    text-align: center;
  }

  .section-title {
    text-align: left;
  }

  /* home / hero */
  #home h1,
  #home h2 {
    font-size: 4.8rem;
  }
  /* End home */

  /* Services Section */
  #skip-hire .services {
    margin: 0px auto;
    padding-top: 0;
    justify-content: space-evenly;
  }

  #skip-hire .service-bottom {
    padding: 8vh 4vw;
  }

  #skip-hire .service-bottom .service-item {
    flex-basis: 45%;
    margin: 2.5%;
  }
  #skip-hire .service-top {
    flex-direction: row;
    /*  flex-basis: 45%;
    height: 100vh;*/
    padding: 11rem;
  }
  #skip-hire .service-top img {
    object-fit: scale-down;
  }
  #skip-hire .service-text {
    /* padding: 5rem; */
    justify-content: center;
    /* align-items: center; */
    width: 70ch;
    display: flex;
    flex-direction: column;
  }
  #skip-hire .service-img {
    padding: 0;
  }

  /* End Services Section */

  /* Project */
  #skip-sizes .project-item {
    flex-direction: row;
  }
  #skip-sizes .project-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  #skip-sizes .project-item {
    height: 400px;
    margin: 0;
    width: 100%;
    border-radius: 0;
  }
  #skip-sizes .all-projects .project-info {
    height: 100%;
  }
  #skip-sizes .all-projects .project-img {
    height: 100%;
  }
  /* End Project */

  /* About */
  #about .about {
    flex-direction: row;
    /*flex-direction: column-reverse;*/
  }
  #about .col-left {
    max-width: 44%;
    height: auto;
    padding-left: 60px;
  }
  #about .about .col-left .about-img::after {
    left: -45px;
    top: 34px;
    height: 98%;
    width: 98%;
    border: 10px solid var(--red);
  }
  #about .col-right {
    text-align: left;
    padding: 30px;
  }
  #about .col-right h3 {
    text-align: left;
  }
  /* End About */

  .faq {
    margin-top: 5vh;
  }

  /* contact  */
  #contact .contact {
    flex-direction: column;
    padding: 80px 2rem;
    align-items: center;
    justify-content: center;
    min-width: 20vh;
    min-height: 60vh;
  }
  #contact .contact-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 0;
  }
  #contact .contact-item {
    padding: 3rem 2rem 3rem 2rem;
  }

  #contact .contact-item .icon img {
    object-fit: contain;
  }
  #contact .contact-item .contact-info {
    width: 100%;
  }
  /* End contact  */
  #footer .footer .brand {
    max-width: 400px;
  }
}
/* End Media Query For Tablet */

/* Media Query For Desktop */
@media only screen and (min-width: 1200px) {
  /* header */
  #header {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: auto;
  }
  #header .hamburger {
    display: none;
  }
  #header .nav-list ul {
    position: initial;
    display: block;
    height: auto;
    width: max-content;
    background-color: transparent;
    margin-left: 1vw;
  }
  #header .nav-list ul li {
    display: inline-block;
  }
  #header .nav-list ul li a {
    font-size: 1.8rem;
  }
  #header .nav-list ul a:after {
    display: none;
  }
  #header .brand img {
    width: 270px;
  }

  /* End header */

  /* about start */
  #about .about {
    flex-direction: row;
  }

  /* End about */
  #skip-hire .service-top {
    padding: 15srem;
  }
  #skip-hire .service-bottom .service-item {
    flex-basis: 22%;
    margin: 1.5%;
  }
  /* services bottom start */
  #skip-hire .service-bottom {
    padding: 5vh 3vw 10vh 3vw;
  }
}
/* End  Media Query For Desktop */

.lightbox {
  /** Default lightbox to hidden */
  display: none;

  /** Position and style */
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
  /** Pad the lightbox image */
  object-fit: contain;
}

.lightbox:target {
  /** Remove default browser outline */
  outline: none;

  /** Unhide lightbox **/
  display: flex;
  align-items: center;
}
