*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
}
@font-face {
    font-family: slick;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/fonts/slick.woff);
}
:root{
    --primary: #283951;
    --secondary: rgb(114,144,185);
    --accent: #4FC0B9;
    --text-dark: #000314;
    --text-light: #FAFAFA;
    --text-body: #666C80;
    --bg-dark: #06091a;
    --bg-light: #f4f5f9;
    --white: #FFFFFF;
    --black: #000000;
    --primary-rgb: 40,57,81;
    --secondary-rgb: 114,144,185;
}
html, body{
    overflow-x: hidden !important;
}
body{
    position: relative;
    min-height: 100vh;
}
.primary{
    color: var(--primary);
}
.secondary{
    color: var(--secondary);
}
.accent{
    color: var(--accent);
}
.text-dark{
    color: var(--text-dark);
}
.text-light{
    color: var(--text-light);
}
.text-body{
    color: var(--text-body);
}
.bg-dark{
    color: var(--bg-dark);
}
.bg-light{
    color: var(--bg-light);
}
.white{
    color: var(--white);
}
.black{
    color: var(--black);
}

.title-hero{
    font-size: 64px;
    font-weight: bold;
}
.title-1{
    font-size: 48px;
    font-weight: bold;
}
.title-2{
    font-size: 40px;
    font-weight: bold;
}
.title-3{
    font-size: 32px;
    font-weight: bold;
}
.title-4{
    font-size: 28px;
    font-weight: bold;
}
.title-5{
    font-size: 24px;
    font-weight: bold;
}
.title-6{
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}
.subheader{
    font-size: 14;
    font-weight: 400;
}
.body-regular{
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}
.body-large{
    font-size: 24px;
    font-weight: 500;
}
.link{
    font-size: 16px;
    font-weight: 500;
}
.body-bold{
    font-size: 16px;
    font-weight: bold;
    line-height: 26px;
}
.body-small{
    font-size: 14px;
    font-weight: 500;
}
.link-large{
    font-size: 24px;
    font-weight: 500;
    text-decoration: underline;
}

a{
    text-decoration: none;
    color: var(--color);
    background-color: var(--bg);
}
div{
    background-color: var(--bg);
    color: var(--color);
}
ul, li{
    text-decoration: none;
    list-style: none;
}
.container{
    /* width: 80%; */
    padding:0 100px;
    margin: auto;
}
p{
    font-size: 16px;
    font-weight: 500;
    color: var(--text-body);
}
.buttons{
    display: flex;
    gap: 30px;
}
.button{
    /* border: 1px solid; */
    position: relative;
    overflow: hidden;
    font-size: 20px;
    font-weight: bold;
    padding: 0 20px;
    display: inline-block;
    width: fit-content;
}
.button .button-text{
    padding: 14px 20px;
    display: inline-block;
    background-color: var(--primary);
    position: relative;
    line-height: 1;
    z-index: 3;
    border: 1px solid var(--primary);
}
.button::before{
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 5px;
    left: 5px;
    background-color: var(--primary);
    transform: rotate(45deg);
}
.button-text::before,.button-text::after{
    display: block;
    position: absolute;
    content: "";
    width: 20px;
    height: calc(100% - 20px);
    z-index: 2;
    bottom: 0;
    background-color: var(--primary);
    border: 1px solid var(--primary);
}
.button-text::before{
    left: -22px;
    bottom: -1px;
}
.button-text::after{
    right: -15px;
    height: 120%;
    top: -1px;
}
.btn-primary .button-text{
    color: var(--text-light);
}
.btn-primary .button-text svg{
    fill: var(--text-light);
}
.btn-primary-ghost .button-text{
    background: transparent;
    border: none;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}
.btn-primary-ghost .button-text:before{
    background: transparent;
    border: none;
    border-left: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    left: -20px;
    height: calc(100% - 19px);
}
.btn-primary-ghost .button-text:after{
    background: transparent;
    border: none;
    border-right: 1px solid var(--primary);
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    height: 100%;
}
.btn-primary-ghost::before{
    background-color: transparent;
    border: none;
    border-left: 1px solid var(--primary);
}
/* Header */
#header{
    display: initial !important;
}
#header .icon-white{
    fill: var(--text-light);
    width: 20px;
    height: 20px;
}
#header .top{
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .sticky{
    position: sticky;
    top: 0;
    z-index: 8888;
}
#header .contact-details{
    display: flex;
    gap: 35px;
    align-items: center;
}

#header .contact-details > a{
    display: flex;
    gap: 15px;
    align-items: center;
}
#header .icon{
    display: flex;
    align-items: center;
}
#header .social{
    display: flex;
    gap: 15px;
}
#header .social a{
    display: flex;
    align-items: center;
}
#header .main-header{
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .logo img{
    width: 125px;
}

#header .nav-container{
    display: flex;
}

#header .nav-link.active a{
    color: var(--text-light);
    background-color: var(--primary);
}
#header .nav-link a{
    color: var(--primary);
    padding: 10px 20px;
}
#header .nav-link a:hover{
    color: var(--text-light);
    background-color: var(--primary);
}
#header .nav-container .logo, .nav-container .close, .nav-container .contact-details{
    display: none;
}
#header .hamburger{
    display: none;
}
/* Header */



/* Hero Section */

#hero{
    padding-top: 100px;
    background-image: url('../assets/images/hero-bg.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    gap: 80px;
}
#hero .title-hero{
    color: var(--primary);
}
#hero .content,#hero .stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
#hero .content{
    gap: 50px;
    text-align: center;
}
#hero .body-regular{
    color: var(--text-body);
}

#hero .stats{
    padding: 50px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
#hero .stats > div{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
#hero .awards .count::after,#hero .years .count::after{
    content: '+';
    font-size: 18px;
    font-weight: bold;
}
#hero .count{
    display: flex;
    gap: 10px;
}
#hero .hr{
    width: 1px;
    height: 100px;
    background-color: var(--primary);
}

/* Hero Section */




/* Visions */

#visions{
    padding: 100px 94px;
    display: flex;
    gap: 70px;
    position: relative;
}
#visions > div{
    width: 50%;
}
#visions .left-image{
    position: relative;
}
#visions .left-image img{
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
    height: calc(100% - 50px);
    width: 100%;
    max-height: calc(100% - 50px);
    object-fit: cover;
    position: absolute;
    width: 100%;
}
#visions .content{
    display: flex;
    gap: 20px;
    flex-direction: column;
    position: relative;
}
#visions .text{
    display: flex;
    gap: 20px;
    flex-direction: column;
    position: relative;
}
#visions h2{
    color: var(--primary);
}
#visions .pe{
    position: relative;
    width: 180%;
    bottom: 0;
    padding: 35px;
    right: 0;
    background-color: var(--bg-light);
    display: flex;
    gap: 30px;
    margin-left: calc(100% - 180%);
}
#visions .prof-eng,#visions .prem-eqp{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Visions */


/* Services */
#services{
    padding: 100px;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

#services .title{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #D5DEEB;
}

#services .service-list{
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
    --grid-layout-gap: 30px;
    --grid-column-count: 3;
    --grid-item--min-width: 350px;
  
    /**
     * Calculated values.
     */
    --gap-count: calc(var(--grid-column-count) - 1);
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
  
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
    grid-gap: var(--grid-layout-gap);
    grid-template-rows: auto 1fr; /* NEW */
}

#services .service{
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
    display: flex;
    gap: 25px;
    padding: 35px;
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--text-dark);
}
#services .service:hover{
    background-color: var(--primary);
}
#services .service:hover .service-icon,#services  .service:hover .service-context .service-title,#services .service:hover .service-context .service-text{
    fill: var(--text-light);
    color: var(--text-light);
}
#services .service-icon use{
    font-size: 40px;
}
#services .service:nth-child(3) .service-icon use{
    transform: scale(1.2);
}
#services .service-icon{
    fill: var(--primary);
    width: 35px;
    height: 45px;
    overflow: visible;
}
#services .service-context{
    display: flex;
    gap: 7px;
    flex-direction: column;
    /* width: calc(100% - (20px + 25px)); */
}

#services .service-title{
    color: var(--text-dark);
}
#services .service-text{
    color: var(--text-body);
}

/* Services */


/* Certifications And Awards */
#certawards{
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 100px 100px;
    background-color: var(--bg-light);
}
#certawards .title{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#certawards .title hr{
    border-color: rgba(var(--secondary-rgb), 0.8);
}
#certawards .title .text{
    display: flex;
    gap: 60px;
    align-items: center;
}
#certawards .title .text > *{
    width: 50%;
}
#certawards .cert-logo img{
    height: 145px;
}
#certawards .certsandawards{
    padding: 40px 60px;
    /* background-color: var(--white); */
    /* clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px); */
}
#certawards .certsandawards::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
    top: 0;
    left: 0;
}
#certawards .cert.slick-slide{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 50px;
    align-items: center;
}
#certawards .cert-desc{
    text-align: center;
}
.slick-controls{
    position: absolute;
    top: 50%;
    height: 24px;
}
.slick-controls.next{
    right: -40px;
    transform: rotate(180deg);
}
.slick-controls.prev{
    left: -40px;
}

/* Featured Projects */
#featuredproject{
    padding: 100px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    display: none;
}

#featuredproject .title{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #D5DEEB;
    align-items: center;
}
#featuredproject .project{
    display: flex;
}
#featuredproject .image{
    width: 60%;
    position: relative;
    overflow: hidden;
}
#featuredproject .image img{
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    top: 0;
    left: 0;
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
}
#featuredproject .project-details{
    width: 40%;
    background-color: var(--bg-light);
    padding: 40px;
}
#featuredproject .header{
    margin-bottom: 20px;
}
#featuredproject .subheader{
    color: var(--secondary);
    margin-bottom: 5px;
}
#featuredproject .project-title{
    color: var(--primary);
}
#featuredproject .contents{
    margin-bottom: 30px;
}
#featuredproject .engr-palomo img{
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}
#featuredproject .engr-palomo{
    display: flex;
    gap: 20px;
    align-items: center;
}
#featureproject .name{
    color: var(--text-dark);
}
#featuredproject .pos{
    color: var(--text-body);
}
#featuredproject .project .project-details .contents p.text{
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#featuredproject .writer-details{
    display: flex;
    justify-content: space-between;
}
#featuredproject .writer-details .button-text{
    font-size: 16px;
    font-weight: 400;
}

/* CTA */
#cta{
    padding: 100px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    background-image: url(../assets/images/hero-bg.jpg);
}
#cta > *{
    text-align: center;
}





/* Calculator */
#budget-calculator{
    display: flex;
    padding: 100px 100px;
    gap: 50px;
}
#budget-calculator .left-image{
    width: 80%;
    position: relative;
}
#budget-calculator .left-image img{
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

#budget-calculator .budg-calc{
    width: 100%;
    display: flex;
    gap: 32px;
    flex-direction: column;
}
#budget-calculator .budg-calc .body-small:not(.text-dark){
    color: var(--text-body);
}
#budget-calculator .calc-desc,#budget-calculator .option, #budget-calculator .building-type{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#budget-calculator .calculator{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#budget-calculator .option select, #budget-calculator .option input{
    background-color: #ffffff;
    color: rgba(var(--primary-rgb), 0.7);
    border-radius: 3px;
    border: 1px solid #000000;
    padding: 7px 5px;

}


/* Client Reviews */
#clientreviews{
    padding: 100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    background-color: var(--bg-light);
}

#clientreviews .head{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #D5DEEB;
    margin-bottom: 20px;
    align-items: center;
}

#clientreviews .reviews{
    display: flex;
    gap: 30px;
}
#clientreviews .review{
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 50px;
    text-align: center;
    background-color: var(--white);
    height: fit-content;
}


/* Contact Us */
#contactus{
    display: flex;
    gap: 45px;
    padding: 100px;
}
#contactus .image-left{
    position: relative;
    width: 48%;
    height: auto;
}
#contactus .location{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
}
#contactus .map{
    position: absolute;
    top: 30px;
    left: 30px;
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
}
#contactus .contact-details{
    width: 52%;
}
#contactus .title{
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#contactus .details{
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
#contactus .details > div{
    width: 50%;
}
#contactus .divider{
    height: auto;
    width: 1px !important;
    background-color: #DADADA;
}
#contactus .address{
    padding-left: 60px;
    border-left: 1px solid #DADADA;
}

/* Footer */

#footer{
    background-color: var(--primary);
    padding: 100px 100px 30px;
    color: var(--text-light) !important;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
#footer .text-body{
    color: var(--text-light) !important;
}
#footer .footer-container{
    display: flex;
    gap: 140px;
    justify-content: space-between;
}

#footer .logo img{
    width: 240px;
}
#footer .contact{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
#footer .contact-details{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#footer .email,#footer .mobile{
    display: flex;
    gap: 15px;
}
#footer .links{
    display: flex;
    gap: 20px;
}
#footer .links > div{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#footer .links .internal a{
 width: 210px;
}
#footer .links .social{
    width: 245px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#footer .socials{
    display: flex;
    gap: 12px;
}
#footer .ars{
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid var(--white);
}
#footer .ars .body-bold{
    text-align: center;
}



#storyTitle{
    padding: 90px 0 90px;
    background-color: var(--primary);
    color: var(--white);
}
#storyTitle .container{
    width: 90%;
    margin: auto;
    text-align: center;
}

#founder{
    padding: 140px 0 0 !important;
}
#founder .container{
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    width: 100%;
    padding: 0;
}
#founder .content-container{
    background-color: var(--bg-light);
}
#founder .content{
    display: flex;
    gap: 30px;
    width: 75%;
    margin: auto;
    padding: 40px 0 140px;
}
#founder .text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}
#founder .image{
    width: 50%;
    height: 100%;
}
#founder .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: -15%;
    box-shadow: 15px 10px 50px 0px rgba(0, 0, 0, 0.10)
}



#coreValues{
}
#coreValues .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 120px 0;
}
#coreValues .values{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 50%;
    gap: 30px;
}
#coreValues .value{
    width: 25%;
}

#missionVision{
    padding: 120px 0 30px;
    background-color: var(--bg-light);
    margin-bottom: 250px;
}
#missionVision .container{
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 140px;
}
#missionVision .missionVisioncontainer{
    display: flex;
    gap: 20%;
}
#missionVision .mission{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#missionVision .vision{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#missionVision img{
    width: 100%;
    max-width: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: top;
    margin-bottom: -150px;
    object-position: center;
}

#portf{
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#portf .container{
    width: 80%;
    text-align: center;
}

#map{
    padding: 100px 0;
}
#map .container{
    width: 70%;
    margin: auto;
    display: flex;
    gap: 50px;
}
#map .container > div{
    width: 50%;
}
#map iframe{
    width: 100%;
    height: 100%;
}
#map .details{
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
#map .details > div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#map .map img{
    width: 100%;
}

#contactTitle{
    padding: 160px 0 60px;
    background-color: var(--primary);
    color: var(--white);
}
#contactTitle .container{
    width: 90%;
    margin: auto;
    text-align: center;
}

#form{
    padding: 120px 0;
}
#form .container{
    width: 80%;
    margin: auto;
}





#portf{
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#portf .container{
    width: 80%;
    text-align: center;
}





#map{
    padding: 100px 0;
}
#map .container{
    width: 70%;
    margin: auto;
    display: flex;
    gap: 50px;
}
#map .container > div{
    width: 50%;
}
#map iframe{
    width: 100%;
    height: 100%;
}
#map .details{
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
#map .details > div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#map .map img{
    width: 100%;
}

#contactTitle{
    padding: 90px 0;
    background-color: var(--primary);
    color: var(--text-light);
}
#contactTitle .container{
    width: 90%;
    margin: auto;
    text-align: center;
}

#form{
    padding: 120px 0;
}
#form .container{
    width: 80%;
    margin: auto;
}




.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* 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.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px 50px;
    border: 1px solid #888;
    width: 80%;
    position: relative;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  .modal{
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .modal::-webkit-scrollbar{
    display: none;
  }


#calculator-modal .modal-content{
    padding-bottom: 70px;
    width: 50%;
}
#calculator-modal .logo{
    width: 100%;
    text-align: center;

}
  .printable{
    margin: 0 10%;
  }
  .printable *{
    color: var(--primary) !important;
  }
  .printable h2{
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
  }
  .printable .button{
    display: none;
    cursor: pointer;
    background-color: none;
    border: none;
  }
  .printable .button-text{
    color: var(--text-light) !important;
  }

  .printable-data{
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 45px);
    border: 1px solid var(--bg-dark);
    padding: 5% 10%;
    background-color: var(--bg-dark);
    position: relative;
  }
  .printable-data::after{
    content: "";
    height: calc(100% - 5px);
    width: calc(100% - 5px);
    background-color: var(--white);
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: -1;
  }
  .printable-data::before{
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    top: -40px;
    left: -40px;
    background-color: var(--bg-dark);
    transform: rotate(45deg);
  }