body{
    height: 100vh;
    margin: 0;

    color: #015d8e;
}

h1, h2, h3, h4, a, p, li , td, tr option{

    font-family: myriad-pro, sans-serif;
}

hr {
    border: none;
    border-top: 1px solid #e2e2e2;
    margin: 20px 0;
}

a{
    text-decoration: none;
    color: #015d8e;
}

.section-dark a{
    color: #fff;
}

.lang-hide{
    display: none !important;
}

/* select home */
select::-ms-expand {
    display: none;
}
select{
    font-family: myriad-pro, sans-serif;
    font-size: 14.5px;
    text-align: center;
    text-decoration: none;
    color: #015d8e;
    z-index: 100;
    border: none;
    margin-left: 18px;
    width: 25px;
    background-color: transparent;

    -webkit-appearance: none;
    appearance: none;
}
@-moz-document url-prefix(){
    select{
        font-family: myriad-pro, sans-serif;
        text-decoration: none;
        text-align: center;
        margin-left: 18px;
        width: 35px;
        border: none;
        background-color: transparent;
    
    }
}

img{
    -ms-interpolation-mode: unset;
}

/* helper calsses*/

.flex{
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
}

.container{
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
}

.section-bright{
    background-color: #fff;
}

.section-dark{
    background-color: #015d8e;
    color: #fff;
}

.parallax{
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}
  
.highlight a{
    display: inline-block;
    color: #015d8e;
    -webkit-transition: color 250ms, text-shadow 250ms;
    transition: color 250ms, text-shadow 250ms;
    position: relative;
    z-index: 0;
}

.highlight.white a{
    color: #fff;
}

.highlight a::after {
    position: absolute;
    z-index: -1;
    bottom: -5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    content: '';
    width: 100%;
    height: 3px;
    background-color: #015d8e;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}

.highlight.white a::after{
    background-color: #fff;
}

.highlight a:hover {
    color: white;
}

.highlight.white a:hover{
    color: #015d8e;
}

.highlight a:hover::after {
    height: 100%;
    width: 100%;
}

.shadow {
    -webkit-box-shadow: 0px 0px 17px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 17px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 17px 8px rgba(0, 0, 0, 0.1);
}

.icon-lg {
    height: 40px;
    width: auto;
}

.display-none {
    display: none;
}

.mt-0 {
    margin-top: 0;
}

.text-center {
    text-align: center;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 6px;
}

.w-half {
    width: 50%;
}

.w-full {
    width: 100% !important;
}

/* menu */
.nav{
    position: absolute;
    left:0;
    right:0;
}

.stick{
    z-index: 10;
    position: fixed;
    background-color: #fff;
}

.nav-links{
    list-style: none;
    padding: 0;

    height: 45px;

    justify-content: flex-end;
    align-items: center;
}

.nav-links a{
    padding-left: 15px;
}


.menu-icon {
    position: fixed;
    right: 1em;
    top: 1.3em;
    width: 3em;
    height: 2.25em;
    display: none;
  }
  
  .menu-icon span {
    position: absolute;
    height: 0.1875em;
    width: 100%;
    background-color: #015d8e;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.6);
    box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.6);
  }
  
  .menu-icon span:nth-child(1) {
    top: 0.09375em;
  }
  
  .menu-icon span:nth-child(2), .menu-icon span:nth-child(3) {
    top: 0.9375em;
  }
  
  .menu-icon span:nth-child(4) {
    top: 1.875em;
  }
  
  .menu-button:hover span, .menu-button:focus span, .menu-button:active span {
    background: #80aec6;
  }
  
  .menu-icon.is-active span:nth-child(1), .menu-icon.is-active span:nth-child(4) {
    opacity: 0;
  }
  
  .menu-icon.is-active span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .menu-icon.is-active span:nth-child(3) {
    top: 0.9375em;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }


#logoMain{
    background-image: url("../img/epcm-blue.png");

    height: 55px;
    width: 1060px;
    margin-top: 10px;

    background-repeat: no-repeat;
    background-size: contain;

    position: absolute;
    left: -280px;
    right: 0;

    -webkit-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.nav:not(.stick) #logoMain{
    background-image: url("../img/epcm.png");

    height: 350px;
    width: 332px;

    background-size: contain;

    position: absolute;
    top: 30vh;
    left: 0;
    right:0;   
}

/* hero section */
.hero{
    justify-content: center;
    align-items: flex-end;
}

.hero-image{
    background-image: url("/img/building_5_1.jpeg");

    height: 100vh;
}

.down-arrow{
    color: #fff;
    font-size: 50px;

    margin-bottom: 50px;
}

/* about section*/
.about{
    text-align: center;
    align-items: center;

    padding: 30px 0;
}

.about > div{
    flex-grow: 1;
    flex-basis: 0;

    margin: 24px;
    height: 170px;
}

.about i{
    font-size: 40px;
}


.services-image{
    background-image: url("/img/building_4.jpeg");

    height: 120vh;
}

.services{
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.services ul{
    list-style: none;
    padding: 0;
}

.services ul > li{
    font-size: 30px;
    line-height: 50px;
    margin-bottom: 10px;
}

.services-h {
    margin-bottom: 26px;
}

/* reference section */

.references ul{
    list-style: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 0;
}

.references ul > li{
    font-size: 30px;
    line-height: 50px;
    margin-bottom: 10px;
}

#refLinks a{
    color: #fff;
}
.stick #refLinks a{
    color: #015d8e;
}

#refLinks select{
    color: #fff;
    background-color: #015d8e;
}
.stick #refLinks select{
    color: #015d8e;
    background-color: #fff;
}

.references{
    padding: 50px 0;
}

.references .igm-wrapper{
    height: 200px;
    width: auto;

    margin: 25px 0;
}
.references .igm-wrapper:hover{
    opacity: 0.8;
}

.references img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-transform: uppercase;
    -webkit-transition-duration: 0.4s;
}

/* service section*/
.service{
    flex-direction: column;
    align-items: center;
    min-width: 0;

    padding: 35px 0;
}

.service-info{
    align-items: center;
    min-width: 0;
}
.service-info i{
    font-size: 100px;
    text-align: center;
}

.service-info > *{
    flex-grow: 1;
    flex-basis: 0;
}

.service-info ul > li{
    line-height: 25px;
}

.list-right{
    direction: rtl;
}

.service-head {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 26px;
    border-radius: 8px;
    width: 100%;
}
.service-card {
    background-color: white;
    display: flex;
    justify-content: space-between;
    height: 30vh;
    width: 60%;
    margin: auto;
    align-items: center;
    border-radius: 8px;
    padding-left: 26px;
}
.service-description {
    width: 60%;
}
.service-description h3 {
    margin-top: 0;
}
.service-img-1 {
    width: 40%;
    height: 30vh;
    background-image: url("./img//service1.jpg");
    background-position: center;
    background-size: cover;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.service-img-2 {
    width: 40%;
    height: 30vh;
    background-image: url("./img//service2.jpg");
    background-position: center;
    background-size: cover;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.service-img-3 {
    width: 40%;
    height: 30vh;
    background-image: url("./img//Dalle.webp");
    background-position: center;
    background-size: cover;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.service-head ul > li {
    font-size: 16px;
    line-height: 20px;
    margin-left: 26px;
    list-style-type: disc;
}

/* referencie: intro */
#logoRef{
    background-image: url("../img/epcm-blue.png");

    height: 55px;
    width: 55px;
    margin-top: 10px;

    position: absolute;

    background-repeat: no-repeat;
    background-size: contain;

    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}

.nav:not(.stick) #logoRef{
    background-image: url("../img/EPCM_Engineers_Logo-RGB.png");

    height: 150px;
    width: 150px;

    background-size: contain;

    position: absolute;
    top: 5vh;
}

.intro{
    height: 30vh;
    -webkit-flex-flow: row wrap;
}

.intro > *{
    width: 670px;
}

.intro h1{
    margin-top: 17.9vh;
    font-size: 40px;
    margin-bottom: 0;
}

.projects{
    -webkit-flex-flow: row wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reference {
    display: flex;
    flex-direction: row;
    width: 100% !important;
    gap: 24px;
    margin-inline: 24px;
    justify-content: center;
    border-bottom: 1px solid #04628e42;
    margin-bottom: 0;
}

.reference img {
    width: 100%;
}

.projects > *{
    width: 670px;

    margin-top: 55px;
    padding-bottom: 55px;
}

.projects h3{
    margin-top: 0;
}

/* table */
.blank_row{
    height: 40px !important; /* overwrites any other rules */
    background-color: #FFFFFF;
}

td:nth-child(1) {  
  /* your stuff here */
  width: 185px;
}
td:nth-child(2) {  
  /* your stuff here */
  width: 500px;
}

.myImg {
    cursor: pointer;
    transition: 0.3s;
  }
  
  .myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    height: 80%;
  }
  
  /* Caption of Modal Image */
  
  
  /* Add Animation */
  .modal-content{
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }



/* footer: contact section */
.contact{
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 35px 0;
}

.contact-info{
    flex-direction: column;
    justify-content: flex-start;
}

.contact i{
    padding-right: 6px;
}

.address{
    font-family: myriad-pro, sans-serif;
    padding-right: 16px;
}

.contact div > a{
    margin-bottom: 15px;
}

/* i {
    width: 16px;
} */

/* footer: map section*/
#map {
    height: 55vh;
    width: 100%;
}

/* Medium screens */
@media all and (max-width: 1024px) {
    .parallax{
        background-position: center;
        background-repeat: no-repeat;
    }

    .container {
        max-width: 900px;
    }

    #logoMain{
        left: -250px;
        width: 650px;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .nav:not(.stick) #logoMain{
        height: 250px;
        width: 237px;
    }

    .about{
        flex-direction: column;
    }
    .services ul > li{
        font-size: 30px;
        line-height: 45px;
        padding-inline: 16px;
    }

    .service-description {
        padding-inline: 16px;
        width: 90% !important;
    }

    .service-description h3 {
        margin-top: 18px !important;
    }

    .service-card {
        flex-direction: column;
        height: auto !important;
        width: 60% !important;
        padding-left: 0 !important;
        margin-inline: 26px;
    }

    .service-img-1 {
        display: none;
    }

    .service-img-2 {
        display: none;
    }

    .service-img-3 {
        display: none;
    }

    .service h2{
        text-align: center;
    }

    .services-image {
        height: 130vh !important;
    }

    .service-info{
        flex-direction: column;
    }
    .service-info i {
        display: none;
    }
    .list-right{
        direction: ltr;
    }

    .nav:not(.stick) #logoRef{
        height: 160px;
        width: 154px;
    
        top: 10vh;
        left:50%;
	    -webkit-transform:translate(-50%);
	    transform:translate(-50%);
    }


    .intro{
        height: 50vh;
        flex-direction: column;
    }

    .intro > *{
        width: 700;
        margin-left: auto;
        margin-right: auto;
    }
    
    .intro h1{
        margin-top: 40vh;
        text-align: center;
    }

    .projects > *{
        margin-top: 15px;
        padding-bottom: 15px;
    }
    .projects img{
        max-width: 900px;
    }

    .reference {
        flex-direction: column;
    }

    .parent{
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
    }
  
    .arrow-up {
      width: 0; 
      height: 0; 
      border-left: 25px solid transparent;
      border-right: 25px solid transparent;
      
      position: absolute;
      border-bottom: 25px solid #fff;
      
      
      bottom: 0;
      z-index: 10;
    }
}

/* Medium screens */
@media all and (max-width: 800px) {
    .parallax{
        background-position: center;
        background-repeat: no-repeat;
    }

    .container {
        max-width: 700px;
    }

    #logoMain{
        left: -150px;
        width: 550px;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .nav:not(.stick) #logoMain{
        height: 250px;
        width: 237px;
    }

    .about{
        flex-direction: column;
    }

    
    .services-image{
        background-image: url("/img/ip_bulding.png");
    }
    .services ul > li{
        font-size: 30px;
        line-height: 45px;
    }

    .service h2{
        text-align: center;
    }

    .service-card {
        width: 75% !important;
    }

    .service-info{
        flex-direction: column;
    }
    .service-info i {
        display: none;
    }
    .list-right{
        direction: ltr;
    }


    
    .nav:not(.stick) #logoRef{
        height: 160px;
        width: 154px;
    
        top: 10vh;
        left:50%;
	    -webkit-transform:translate(-50%);
	    transform:translate(-50%);
    }


    .intro{
        height: 40vh;
        flex-direction: column;
    }

    .intro > *{
        width: 700;
        margin-left: auto;
        margin-right: auto;
    }
    
    .intro h1{
        margin-top: 30vh;
        text-align: center;
    }

    .projects > *{
        margin-top: 18px;
        padding-bottom: 18px;
    }
    .projects img{
        max-width: 700px;
    }

    .parent{
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
    }
  
    .arrow-up {
      width: 0;     
      height: 0; 
      border-left: 25px solid transparent;
      border-right: 25px solid transparent;
      
      position: absolute;
      border-bottom: 25px solid #fff;
      
      
      bottom: 0;
      z-index: 10;
    }
}

/* Small screens */
@media all and (max-width: 500px){

    .parallax{
        background-attachment: scroll;
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 100%;
    }
      
    .container {
        max-width: 360px;
    }

    #logoMain{
        left:10px;

        -webkit-transition-duration: 0.1s;
        transition-duration: 0.1s;
    }

    .down-arrow{
        margin-bottom: 70px;
    }

    .nav:not(.stick) #logoMain{
        height: 250px;
        width: 237px;
    }

    .about{
        flex-direction: column;
    }

    .about h2 {
        font-size: 1.25rem !important;
    }

    .services-image{
        background-image: url("/img/ip_bulding.png");
        background-attachment: initial !important;        
    }

    .services ul > li{
        font-size: 20px;
        line-height: 45px;
    }

    .service-head ul > li {
        font-size: 1rem !important;
        margin-left: 16px;
        line-height: 20px;
    }

    .service-head h3 {
        font-size: 18px !important;
    }

    .service h2{
        text-align: center;
    }

    .service-card {
        width: 85% !important;
    }

    .service-info{
        flex-direction: column;
    }
    .service-info i {
        display: none;
    }
    .list-right{
        direction: ltr;
    }

    .nav:not(.stick) #logoRef{
        height: 160px;
        width: 154px;
    
        top: 17vh;
        left:50%;
	    -webkit-transform:translate(-50%);
	    transform:translate(-50%);
    }


    .intro{
        height: 70vh;
        -webkit-flex-flow: row wrap;
    }
    
    .intro h1{
        margin-top: 50vh;
        text-align: center;
    }

    .projects > *{
        margin-top: 18px;
        padding-bottom: 18px;
    }
    .projects img{
        max-width: 360px;
    }

    .modal-content {
        width: 100%;
        height: auto;
      }

      .parent{
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;

        z-index: 0.3;
    }
  
    .arrow-up {
      width: 0; 
      height: 0; 
      border-left: 25px solid transparent;
      border-right: 25px solid transparent;
      
      position: absolute;
      border-bottom: 25px solid #fff;
      
      
      bottom: 0;
    }
}

/* mobile: menu */
@media all and (max-width: 500px) {
    .menu-icon {
        display: inline-block;
      }
      .nav-links{
          display: none;
      }
      .nav-links a{
          padding-left: 0;
      }
      .nav-links.mob{
        display: inline-block;
        position: absolute;

        font-size: 40px;
        line-height: 100px;
        
        text-align: center;

        height: 100vh;
        width: 100vw;
        
        top: 75px;
        margin: 0;
        padding-top: 35px; 

        background-color: #fff;
    }
    .nav.mob{
        position: fixed;
        height: 100vh;
        width: 100vw;

        background-color: #015d8e;
        z-index: 100;
    }
    
    .stick{
        background-color: #fff;
        height: 75px;
        width: 100vw;
    }

    .nav.mob #logoMain{
        background-image: url("../img/EPCM_Engineers_Logo-RGB.png");

        height: 55px;
        margin-top: 10px;

        top: 0;
        right: unset;
    }

    .nav.mob:not(.stick) #logoMain{
        background-image: url("../img/EPCM_Engineers_Logo-RGB.png");

        height: 55px;
        margin-top: 10px;
        margin-left: 10px;

        top: 0;
        right: unset;
    }

    .nav.mob select{
        font-size: 25px;
        width:auto;
        margin:0;
    }

    .nav.mob #logoRef{
        background-image: url("../img/EPCM_Engineers_Logo-RGB.png");
    }

    .nav.mob:not(.stick) #logoRef{
        background-image: url("../img/EPCM_Engineers_Logo-RGB.png");

        height: 55px;
        width: 55px;
        margin-top: 10px;
        margin-left: 10px;

        position: absolute;

        background-repeat: no-repeat;
        background-size: contain;

        top:0;
        left: 0;
        transform: initial;
        -webkit-transition-duration: 0.1s;
        transition-duration: 0.1s;
    }

    .nav.mob #refLinks a{
        color: #015d8e;
    }
    .nav.mob #refLinks select{
        color: #015d8e;
        background-color: #fff;
    }
}


.animated {
    transition: transform 1s, opacity 3s;
  }
  
  .reveal-y {
    transform: translateY(20px);
    opacity: 0;
  }
  
  
  .reveal-x {
    transform: translateX(20px);
    opacity: 0;
  }
  
  
  .reveal--y {
    transform: translateY(-80px);
    opacity: 0;
  }
  
  
  .reveal--x {
    transform: translateX(-80px);
    opacity: 0;
  }
