* {
  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 #0C1526;
  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: 100px;
}


.navbar {
  z-index: 1000;
  /* background-color: white; */
  overflow: hidden;
  position: absolute;
  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;
}

.scrolled {
  /* transform: translateY(30%); */
  /* z-index: 1200; */
  /* background-color: #e6e6e6; */
  /* width: 95%; */
  /* border-radius: 50px; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
  transition: transform 0.5s, border-radius 0.5s, width 0.5s, box-shadow 0.5s, background 0.5s;
}

.scrolled a {
  /* color: black; */
}

.scrolled a:hover {
  /* color: rgba(0,0,0,0.5); */
}


.navbar a {
  color: white;
  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: -90px;
}

.navbar-middle a {
  text-decoration: none;
  color: white;
  background-image: linear-gradient(#ffffff,#ffffff);
  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(255,255,255,0.6);
}

.navbar-middle a.active {
  background-size: 50% 2px, auto;
}

/* .scrolled .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;
} */

/* .scrolled .navbar-middle a:hover {
  color: rgba(0,0,0,0.6);
}

.scrolled .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 0 13px 0;
  border-radius: 50px;
  border: 2px solid white;
  background: none;
  color: white;
  font-family: ms;
  cursor: pointer;
  margin-right: 20px;
  transition: all 0.3s;
  position: fixed;
  width: 180px;
}

.scrolled .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;
  color: white;
}

/* .scrolled .navbar-menu i {
  transition: opacity 0.3s;
  color: #0C1526;
} */

.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: 30px;
}

.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: #172A46;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 14px;
  line-height: 25px;
  transition: color 0.5s;
  font-family: mm;
}

.navTop a {
  text-decoration: none;
  background-image: linear-gradient(#172A46,#172A46);
  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: linear-gradient(30deg, #3b686b 0%, #132a32 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 {
  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: 10px;
  position: relative;
  background: url('../images/dubai-marina.jpg') no-repeat center center, linear-gradient(to left,rgba(0, 1, 8, 0),rgba(0, 1, 8, 0.5));
  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 h3 {
  color: white;
  font-weight: normal;
  font-family: mm;
  font-size: 14px;
}

.altHeader .line {
  width: 40px;
  height: 2px;
  background-color: white;
}

.home h3 {
  font-weight: normal;
  font-size: 26px;
  font-family: mb;
  color: white;
}

.home h1 {
  font-weight: normal;
  font-family: ms;
  font-size: 50px;
  color: white;
  max-width: 600px;
  line-height: 1.5;
  padding: 0;
}

.homeRow {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.homeRow p {
  font-family: mr;
  max-width: 450px;
  color: white;
  font-size: 14px;
  line-height: 1.5;
}


.blueButton {
   padding: 13px 30px 13px 30px;
   background-color: #0b0034;
   text-align: center;
   transition: 0.5s;
   color: white;
   border-radius: 50px;
   display: block;
   border: none;
   font-family: mm;
 }

 .blueButton:hover {
   color: #fff;
   text-decoration: none;
   cursor: pointer;
 }


.orangeButton {background-image: linear-gradient(to right, #F09819 0%, #EDDE5D  51%, #F09819  100%)}
.orangeButton {
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
  border: none;
  font-family: mb;
  border-radius: 50px;
  cursor: pointer;
}

.orangeButton:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}



.services {
  min-height: 800px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding:  100px 100px 0 100px;
  background-color: #203940;
}


.scDetails {
  background: linear-gradient(30deg, #3b686b 0%, #132a32 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/marina.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;
}

.locations {
  min-height: 800px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding:  80px 50px 80px 50px;
  background-color: white;
  gap: 40px;
}

.locations h1 {
  font-family: ms;
  font-size: 30px;
  font-weight: normal;
}

.locations .imageSection {
  height: 600px;
  width: 1200px;
  border-radius: 15px;
  overflow: hidden;
}

.locations .imageSection img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* .locations #map {
  height: 600px;
  width: 500px;
  border-radius: 15px;
  z-index: 300;
} */

.leaflet-control-attribution {
  display: none;
}


.locations .images {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  z-index: 400;
}

.locationsCard {
  position: relative;
  height: 250px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 4px 8px 0px;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  width: 450px;
}

.locationsCard:hover {
  cursor: pointer;
}

.locationsCard:hover.locationsCard img.bg-image {
  height: 110%;
  width: 110%;
}


.locationsCard img.bg-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: all 0.3s ease-in-out;
}

.locationsCard::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  z-index: 1;
}


.locationsCard .content {
  position: relative;
  z-index: 2;
  color: white;
}

.locationsCard h4 {
  font-weight: normal;
  font-family: ms;
  max-width: 200px;
  line-height: 1.5;
  margin-bottom: 10px;
}


.locationsCard p {
  font-family: mr;
  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.02);
}

.abArt {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
}

.imageA {
  height: 200px;
  width: 300px;
  border-radius: 25px;
  border: 6px solid white;
  background-color: black;
  z-index: 300;
  margin: -30px 0 0 -250px;
  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: 500px;
  border-radius: 25px;
  border: 4px solid white;
  background-color: black;
  /* margin: 0 0 150px -200px; */
  z-index: 200;
  overflow: hidden;
}

.imageA img, .imageC img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 95%;
}

.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.8;
}


.altHeaderX {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.altHeaderX .line {
  width: 40px;
  height: 2px;
  background-color: #daa520;
}

.altHeaderX h3 {
  font-weight: normal;
  font-size: 14px;
  font-family: mr;
  color: #daa520;
}


.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;
  }
  .navbar-right button {
    margin-right: 60px;
  }
  .services {
    padding: 50px 40px 0 40px;
  }
  .scDetails {
    width: 500px;
  }

  .scDetails h1 {
    font-size: 35px;
  }

}

@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;
  }


  .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;
  }

  .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;
  }


  .locationsCard {
    width: 300px;
  }


}

  @media (max-width: 576px) {
    .home {
      padding: 40px 40px 0 40px;
    }

    .clients {
      padding: 80px 40px 80px 40px;
    }

    .about {
      gap: 2px;
      padding: 80px 40px 80px 40px;
    }

    .abDetails h1 {
      font-size: 35px;
    }

    .clDetails h1 {
      font-size: 35px;
    }



    .services {
      flex-direction: column-reverse;
      align-items: center;
      justify-content: flex-end;
      padding: 60px 0 40px 0;
      height: 1250px;
    }

    .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;
    }

    .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 0;
    }
    .imageC {
      width: 300px;
      margin: 0 0 80px 0;
    }
    .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;
    }



  }

  @media (max-width: 400px) {
    .home {
      padding: 40px 40px 0 40px;
    }

    .about {
      justify-content: flex-start;
    }

    .imageA {
      height: 200px;
      width: 200px;
      margin: -30px 0 80px -170px;
    }

    .imageC {
      width: 250px;
      height: 300px;
      margin: 0 0 80px 0;
    }


    .abDetails h1 {
      font-size: 30px;
    }

    .clDetails h1 {
      font-size: 30px;
    }


    .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;
    }


  }
