* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  background-color: white;
  color: #172A46;
}

@font-face {
  font-family: ml;
  src: url('./fonts/Montserrat-Light.ttf');
}

@font-face {
  font-family: mr;
  src: url('./fonts/Montserrat-Regular.ttf');
}

@font-face {
  font-family: mm;
  src: url('./fonts/Montserrat-Medium.ttf');
}

@font-face {
  font-family: ms;
  src: url('./fonts/Montserrat-SemiBold.ttf');
}

@font-face {
  font-family: mb;
  src: url('./fonts/Montserrat-Bold.ttf');
}

.overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 99;
}

.loaderOverlay {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  z-index: 5000;
}


.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #E47125;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}
@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}

.logo img {
  width: 150px;
}

.navbar {
  z-index: 1000;
  background-color: white;
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100px;
  padding: 40px 10px 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.5s, border-radius 0.5s, width 0.5s, box-shadow 0.5s, background 0.1s;
  box-shadow: rgba(0, 0, 0, 0.1) 1.95px 1.95px 2.6px;
}


.navbar a {
  color: black;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.5s;
  font-family: mr;
}

.navbar-middle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-left: 30px;
}

.navbar-middle a {
  text-decoration: none;
  color: black;
  background-image: linear-gradient(#000000,#000000);
  background-size: 0 2px, auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: all .3s ease-out;
  padding: 30px 0 30px 0;
}

.navbar-middle a:hover {
  color: rgba(0,0,0,0.6);
}

.navbar-middle a.active {
  background-size: 50% 2px, auto;
}

.navbar-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.navbar-right button {
  padding: 13px 20px 13px 20px;
  border-radius: 50px;
  border: none;
  background-color: #0C1526;
  color: white;
  font-family: ms;
  cursor: pointer;
  margin-right: 20px;
}

.navbar-right button i {
  margin-right: 5px;
}

.navbar-left {
  text-align: center;
  transition: flex 0.3s;
}


.navbar-menu {
  display: none;
  z-index: 400;
  padding-right: 20px;
}

.navbar-menu i {
  transition: opacity 0.3s;
}

.navbar-menu i:hover {
  cursor: pointer;
  opacity: 90%;
}

.nav {
  z-index: 900;
  overflow: hidden;
  background-color: white;
  position: fixed;
  width: 100%;
  right: 0;
  min-height: 100vh;
  height: fit-content;
  padding: 120px 40px 40px 40px;
  text-align: center;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.navTop {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
}

.navBottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.navBottom a {
  text-decoration: none;
  outline: none;
  color: black;
  cursor: pointer;
  transition: all 0.2s;
}

.navBottom a:hover {
  opacity: 60%;
}

.navBottom i {
  font-size: 30px;
}

.navTop a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 12px;
  line-height: 25px;
  transition: color 0.5s;
  font-family: mm;
  letter-spacing: 2px;
}

.navTop a {
  text-decoration: none;
  background-image: linear-gradient(#000000,#000000);
  background-size: 0 2px, auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: all .3s ease-out;
}

.navTop a:hover {
  color: rgba(0,0,0,0.6);
}

.navTop a.active {
  background-size: 50% 2px, auto;
}

footer {
  background: url('../SVG/linesB.svg') no-repeat center center, linear-gradient(270deg, rgba(240,142,0,1) 0%, rgba(226,113,33,1) 100%);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center center;
  position: relative;
  min-height: 50vh;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-family: mr;
  text-align: center;
  overflow: hidden;
  color: white;
}

.footerTop {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 50px 50px 50px;
  border-bottom: 2px solid white;
  width: 90%;
}



.footerBottom {
  margin-bottom: 40px;
  padding: 0 40px 0 40px;
}

.footerBottom p {
  line-height: 1.5;
  font-family: ms;
}

.hLink {
  color: white;
  font-family: mm;
}

.socialHandles {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.socialHandles a {
  text-decoration: none;
  outline: none;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.socialHandles a:hover {
  opacity: 60%;
}

.socialHandles i {
  font-size: 30px;
}

.fContact p {
  width: 250px;
  text-align: left;
}

.fContact {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.cxHead {
  font-size: 20px;
  font-family: ms;
  color: white;
}

.footerC {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fContact a {
  font-family: mr;
  color: white;
  transition: opacity 0.3s;
}

.fContact a:hover {
  opacity: 78%;
}

.footerB {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.footerD {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.footerD a {
  color: white;
  transition: opacity 0.3s;
}

.footerD a:hover {
  opacity: 78%;
}


.footerA {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footerA p {
  width: 260px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: white;
}

.footerA img {
  width: 160px;
}

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 100px 0 100px;
  gap: 30px;
  position: relative;
  background: url('../images/offshore.jpg') no-repeat center center, linear-gradient(to left,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.9));
  background-blend-mode: soft-light;
  background-size: cover;
  /* background-attachment: fixed; */
  background-position: center center;
}

.altHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.altHeader .line {
  width: 40px;
  height: 2px;
  background-color: white;
}

.altHeader h3 {
  font-weight: normal;
  font-size: 14px;
  font-family: mr;
  color: white;
}

.home h1 {
  font-weight: normal;
  font-family: ms;
  font-size: 50px;
  color: white;
  max-width: 700px;
  line-height: 1.5;
}

.homeRow {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.homeRow p {
  font-family: mr;
  max-width: 600px;
  color: white;
  font-size: 14px;
  line-height: 1.5;
}


.orangeButton {
   background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%);
   padding: 13px 30px 13px 30px;
   text-align: center;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   border-radius: 50px;
   display: block;
   border: none;
   font-family: mm;
 }

 .orangeButton:hover {
   background-position: right center;
   color: #fff;
   text-decoration: none;
   cursor: pointer;
 }


.services {
  min-height: 1000px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding:  100px 100px 0 100px;
  background-color: white;
}


.scDetails {
  background: url('../SVG/linesA.svg') no-repeat center center, linear-gradient(270deg, rgba(240,142,0,1) 0%, rgba(226,113,33,1) 100%);
  background-blend-mode: overlay;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  padding: 50px;
  border-radius: 20px 0 0 20px ;
  width: 650px;
  height: 400px;
  z-index: 400;
}

.scDetails h1 {
  font-weight: normal;
  font-family: ms;
  font-size: 40px;
  color: white;
  max-width: 550px;
  line-height: 1.5;
}

.scDetails p {
  font-family: mr;
  max-width: 600px;
  color: white;
  font-size: 15px;
  line-height: 1.5;
}

.scImageSection {
  border-radius: 20px;
  height: 600px;
  width: 450px;
  background: url('../images/power.jpg') no-repeat center center, rgba(0, 0, 0, 0.2);
  background-blend-mode: soft-light;
  background-size: cover;
  background-position: center center;
  z-index: 100;
}

.servicesContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.scRow {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.servicesCard {
  min-height: 160px;
  height: 220px;
  width: 310px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 4px 8px 0px;
  background-color: white;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.servicesCard h4 {
  font-weight: normal;
  font-family: ms;
  max-width: 200px;
  line-height: 1.5;
}

.servicesCard button {
  background-color: #172A46;
  height: 40px;
  width: 40px;
  border-radius: 50px;
  border: none;
  overflow: hidden;
}

.servicesCard button img {
  object-fit: contain;
  height: 60%;
  width: 60%;
}

.servicesCard p {
  font-family: mr;
  color: #172A46;
  font-size: 12px;
  line-height: 1.5;
}

.about {
  min-height: 800px;
  height: fit-content;
  display: flex;
  padding: 0 40px 0 40px;
  gap: 80px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.08);
}

.abArt {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
}

.imageA {
  height: 300px;
  width: 300px;
  border-radius: 25px;
  border: 4px solid white;
  background-color: black;
  z-index: 300;
  overflow: hidden;
}

.imageB {
  height: 400px;
  width: 300px;
  border-radius: 25px;
  border: 3px solid white;
  background: linear-gradient(270deg, rgba(240,142,0,1) 0%, rgba(226,113,33,1) 100%);
  margin: 0 0 80px -150px;
  z-index: 200;
}

.imageC {
  height: 450px;
  width: 350px;
  border-radius: 25px;
  border: 4px solid white;
  background-color: black;
  margin: 0 0 150px -200px;
  z-index: 300;
  overflow: hidden;
}

.imageA img, .imageC img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 80%;
}

.abDetails {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.abDetails h1 {
  font-weight: normal;
  font-family: ms;
  font-size: 40px;
  max-width: 550px;
  line-height: 1.5;
}

.abDetails p {
  font-family: mr;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.5;
}


.altHeaderX {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.altHeaderX .line {
  width: 40px;
  height: 2px;
  background-color: #E27121;
}

.altHeaderX h3 {
  font-weight: normal;
  font-size: 14px;
  font-family: mr;
  color: #E27121;
}


.clients {
  min-height: 550px;
  height: fit-content;
  display: flex;
  gap: 60px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 100px;
}


.clDetails {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.clDetails h1 {
  font-weight: normal;
  font-family: ms;
  font-size: 40px;
  max-width: 700px;
  line-height: 1.5;
}

.clDetails p {
  font-family: mr;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.5;
}

.clLogoContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  width: 600px;
}

.clLogoContainer img {
  width: 120px;
}

.isoCert {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.isoCert img {
  border-radius: 5px;
  height: 50px;
  width: 100px;
  object-fit: contain;
  background-color: white;
}

#scRowAlt {
  display: none;
}

@media (max-width: 1200px) {
  .navbar-middle {
    display: none;
  }
  .navbar-menu {
    display: block;
  }
  .services {
    padding: 50px 40px 0 40px;
    height: 140vh;
  }
  .scDetails {
    width: 500px;
  }

  .scDetails h1 {
    font-size: 35px;
  }

  #scCardAlt {
    display: none;
  }

  #scRowAlt {
    display: flex;
    margin-left: 160px;
  }

}

@media (max-width: 992px) {
  .home {
    padding: 100px 50px 0 50px;
  }

  .clients {
    padding: 50px 40px 50px 40px;
    flex-direction: column;
  }

  .clDetails p {
    max-width: 800px;
  }

  .about {
    padding: 100px 40px 100px 40px;
    flex-direction: column;
  }

  .abDetails p {
    max-width: 700px;
  }

  .orangeButton {
    width: 150px;
  }

  .scDetails {
    width: 400px;
    padding: 40px;
  }

  .scImageSection {
    min-width: 300px;
  }

  .scDetails h1 {
    font-size: 30px;
  }

}

@media (max-width: 786px ) {

  .clLogoContainer {
    width: 100%;
    gap: 80px;
  }

  .clLogoContainer  img {
    width: 90px;
  }

  .scDetails {
    width: 300px;
    height: 420px;
    padding: 40px 0 40px 40px;
  }

  .scDetails p {
    font-size: 12px;
  }

  .scDetails h1 {
    font-size: 24px;
  }

  .servicesCard {
    width: 250px;
    height: 240px;
  }


  .orangeButton {
    width: 150px;
  }
  .home h1 {
    font-size: 40px;
  }

  .homeRow {
    align-items: center;
  }
  .homeRow p{
    font-size: 13px;
    width: 400px;
  }


  .footerTop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  .footerC, .footerB, .footerD {
    align-items: center;
  }

  .fContact p {
    text-align: center;
  }

  @media (max-width: 576px) {
    .home {
      padding: 40px 40px 0 40px;
    }

    .clients {
      padding: 80px 40px 80px 40px;
    }

    .about {
      gap: 2px;
      padding: 0 40px 80px 40px;
    }

    .abDetails h1 {
      font-size: 35px;
    }

    .clDetails h1 {
      font-size: 35px;
    }

    .abArt {
      transform: scale(75%);
    }

    .services {
      flex-direction: column-reverse;
      align-items: center;
      justify-content: flex-end;
      padding: 60px 0 40px 0;
      height: 2200px;
    }

    .scImageSection {
      height: 300px;
      width: 360px;
      margin-top: 0;
    }

    .scDetails {
      width: 400px;
      height: 550px;
      margin-top: -60px;
      border-radius: 20px;
      padding: 40px;
    }

    .scDetails h1 {
      font-size: 32px;
    }

    .scDetails p {
      font-size: 15px;
    }

    .scRow {
      flex-direction: column;
    }

    .servicesCard button {
      height: 50px;
      width: 50px;
    }

    #scCardAlt {
      display: flex;
    }

    #scRowAlt {
      display: none;
    }

    .servicesCard {
      width: 100%;
      height: 280px;
      gap: 15px;
      padding: 30px;
    }


    .servicesCard h4 {
      font-size: 20px;
      max-width: 100%;
    }

    .home h1 {
      font-size: 32px;
    }

    .homeRow p {
      width: 362px;
    }
    .imageB {
      height: 340px;
      margin: 0 0 80px -200px;
    }
    .imageC {
      width: 300px;
      margin: 0 0 150px -200px;
    }
    .homeRow {
      flex-direction: column;
      align-items: flex-start;
      gap: 40px;
    }


    .footerTop {
      padding: 80px 0 50px 0;
      width: 90%;
    }

    .footerC iframe{
      width: 300px;
    }

    .footerBottom p {
      font-size: 14px;
    }

    .navbar-right button i {
      margin-right: 0;
    }

    .navbar-right button span {
      display: none;
    }

  }

  @media (max-width: 400px) {
    .home {
      padding: 40px 40px 0 40px;
    }

    .about {
      justify-content: flex-start;
    }

    .abArt {
      transform: scale(50%);
      margin-top: -50px;
    }

    .abDetails {
      margin-top: -60px;
    }

    .abDetails h1 {
      font-size: 30px;
    }

    .clDetails h1 {
      font-size: 30px;
    }

    .services {
      height: 2000px;
    }

    .scImageSection {
      width: 300px;
      height: 300px;
    }

    .scDetails {
      width: 350px;
      height: 400px;
    }

    .scDetails h1 {
      font-size: 25px;
    }

    .scRow {
      margin-left: -18px;
    }

    .servicesCard {
      height: 260px;
      width: 300px;

    }

    .servicesCard h4 {
      font-size: 18px;
    }

    .servicesCard p {
      font-size: 14px;
    }

    .home h1 {
      font-size: 26px;
    }

    .homeRow p {
      width: fit-content;
    }


  }
