
*
{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html
{
    scroll-behavior: smooth;
}

body
{
    background-color: #f0f1f3;
}

p
{
    font-size: 16px;
    font-weight: 300;
}

h1
{
    font-size: 36px;
    font-weight: 500;
    text-align: center;
}

.more
{
    position: relative;
    text-decoration: none;
    padding: 10px 15px;
    background: #89b428;
    margin-top: 15px;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 14px;
    transition: 0.5s;
}

    .more:hover
    {
        background-color: #799f23;
        transition: 0.5s;
    }

.hero-btn
{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
}
    
    .hero-btn:hover
    {
        border: 1px solid #89b428;
        background: #89b428;
        transition: 1s;
    }
    
.green-btn
{
    border: 1px solid #89b428;
    background: transparent;
    color: #89b428;
}

    .green-btn:hover
    {
        color: #fff;
    }

.back
{
    display: flex;
    align-items: center;
    justify-content: center;
}
    
    .back a
    {
        margin-top: 50px;
        text-decoration: none;
    }
    

.row
{
    margin: 5%;
    display: flex;
    justify-content: space-between;
}

/*------ Nav ------*/
nav
{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

    nav img
    {
        width: 150px;
    }

.nav-links
{
    flex: 1;
    text-align: right;
}

    .nav-links ul li
    {
        list-style: none;
        display: inline-block;
        padding: 8px 12px;
        position: relative;
    }

    .nav-links ul li a
    {
        color: #fff;
        text-decoration: none;
        font-size: 13px;
    }

        .nav-links ul li::after
        {
            content: '';
            width: 0%;
            height: 2px;
            background: #89b428;
            display: block;
            margin: auto;
            transition: 0.5s;
        }

        .nav-links ul li:hover::after
        {
            width: 100%;
        }

    .nav-links ul li ul
    {
        position: absolute;
        left: 0;
        top: 100%;
        padding: .75rem;
        text-align: left;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
    }

        .nav-links ul li:hover ul
        {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

            .nav-links ul li ul li
            {
                color: white;
                padding: 0;
                padding-bottom: 3px;
            }

    nav .fa-solid
    {
        display: none;
    }

.text-box
{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1
{
    font-size: 62px;
}

.text-box p
{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

/*------ Call to Action ------*/
.cta
{
    margin: 100px auto;
    width: 72%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/bannerContactUs.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

    .cta h1
    {
        color: #fff;
        margin-bottom: 40px;
        padding: 0;
    }

/*------ Partners ------*/
.partners
{
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 50px;
}

    .partners h1
    {
        margin-bottom: 50px;
    }

    .partners ul
    {
        padding: 0;
        margin: 0;
    }

        .partners ul li
        {
            list-style: none;
            display: inline-block;
            width:180px;
            height:100px;
            position: relative;
            overflow: hidden;
            cursor:pointer;
            background: #fff;
            margin: 10px;
            box-shadow: 0px 0px 10px -7px #555;
            transition: 0.5s;
        }

            .partners ul li img
            {
                width: 100%;
                height: 100%;
            }
                            
                .partners ul li img:nth-child(1)
                {
                    transform: translateY(0);
                    transition: 0.5s;
                }

                .partners ul li img:nth-child(2)
                {
                    transform: translateY(0);
                    transition: 0.5s;
                }

                    .partners ul li:hover img:nth-child(1)
                    {
                        transform: translateY(-100%);
                        transition: 0.5s;
                    }

                    .partners ul li:hover img:nth-child(2)
                    {
                        transform: translateY(-100%);
                        transition: 0.5s;
                    }

/*------ Headers ------*/
.header
{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/haeuseramsee.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

.subheader
{
    height: 50vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.subheader h1
{
    margin-top: 100px;
 
}

.services-header {background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/3engineers.png);}
.bl-header {background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/businesslines.png);}
.contact-header {background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/contact.png);}
.news-header {background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/news.png);}
.career-header {background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/doors.png);}
.privacy-header {background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/privacy.png);}

/*------ Titles ------*/
.titles h1
{
    padding-top: 100px;
}

.bl .first
{
    padding-top: 100px;
}

/*------ About Box ------*/
.about
{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 0;
}
.about hr
{
    width: 100px;
    height: 4px;
    background-color: #89b428;
    margin: 20px auto;
    border: none;
   
}

.about .fa-solid
{
    font-size: 50px;
    color: #3f3f3f;
    padding: 20px 0;
}

.about h1
{
    margin-top: 50px;
}

.about h3
{
    font-size: 27px;
    font-weight: 500;
    text-transform: uppercase;
    width: 80%;
    margin: auto;
}

.about p
{
    width: 80%;
    text-align: justify;
    margin: auto;
    padding-bottom: 20px;
}

.about-col
{
    flex-basis: 48%;
    background: #fff;
    border-radius: 0;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.about-col:hover
{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

/*------ Contact Us ------*/
.location
{
    width: 72%;
    margin: auto;
    padding: 80px 0;
}

    .location iframe
    {
        width: 100%;
        padding-top: 20px;
    }

.contact-us
{
    width: 80%;
    margin: auto;
}

.contact-col
{
    flex-basis: 48%;
    margin-bottom: 30px;
}

    .contact-col div
    {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
    }

        .contact-col div .fa-solid
        {
            font-size: 28px;
            color: #89b428;
            margin: 10px;
            margin-right: 30px;
        }

        .contact-col div p
        {
            padding: 0;
        }

        .contact-col div h5
        {
            font-size: 17px;
            margin-bottom: 5px;
            color: #555;
            font-weight: 600;
        }

    .contact-col input, .contact-col textarea
    {
        width: 100%;
        padding: 15px;
        margin-bottom: 17px;
        outline: none;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

/*------ Construction ------*/
.construction
{
    width: 72%;
    margin: auto;
    padding-top: 0px;
}

    .construction .about-col
    {
        margin: 100px 0;
        padding: 0;
    }

    .construction .row
    {
        margin: 10px;
    }

.services-col , .services-img-col
{
    padding: 30px;
    flex-basis: 50%;
}

    .services-img-col
    {
        display: grid;
        align-items: center;
    }

        .services-img-col img
        {
            width: 100%;
            display: block;
            margin: auto;
        }

    .services-col h1
    {
        text-align: left;
    }

    .services-col p
    {
        padding-top: 10px;
        text-align: justify;
    }

/*------ Business Lines ------*/
.epc .about-col
{
    margin-bottom: 30px;
    flex-basis: 31%;
}

.bl .row
{
     margin: 0;
}

    /*------ Newsletter ------*/
.newsblog
{
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
}

    .newsblog .content
    {
        width: 90%;
        margin: 20px auto;
    }

    .newsblog .content .cards
    {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 50px;
        margin: 25px auto;
    }
    
        .newsblog .content .cards .card
        {
            width: 100%;
            background-color: #fff;
            position: relative;
            transition: 1s;
        }
        .newsblog .content .cards .card:hover
        {
            box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
            transition: 1s;
        }
        .newsblog .content .cards .card img
        {
            width: 100%;
            height: auto;
        }

        .newsblog .content .cards .card .article
        {
            padding: 15px 20px;
        }

        .newsblog .content .cards .card .article h6
        {
            font-size: 24px;
            padding: 0 10px;
        }

        .newsblog .content .cards .card .article p
        {
            font-size: 16px;
            margin: 10px 0px;
            padding: 0 10px;
            text-align: justify;
        }

        .newsblog .content .cards .card .article a
        {
            text-decoration: none;
        }

        .newsblog .content .cards .card .posted-date
        {
            font-weight: 600;
            color: #fff;
            position: absolute;
            top: 0;
            left: 0;
            display: inline-block;
            background-color: #89b428;
            padding: 3px 15px;
        }

/*------ Career ------*/
.career
{
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .career img
    {
        width: 100%;
    }

    .career .about-col
    {
        padding: 0;
        flex-basis: 72%;
        margin-top: 50px;
    }

        .career .about-col h3
        {
            padding-top: 20px;
        }

        .career .about-col .buttons
        {
            justify-content: space-between;
        }
        .career .about-col a
        {
            margin: 20px 20px 50px 20px;
        }

/*------ Jobs ------*/
.jobs
{
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    min-height: 100vh;
}

.container
{   
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1200px;
    flex-wrap: wrap;
}

    .container .card
    {
        position: relative;
        width: 300px;
        padding: 20px;
        margin: 20px;
        background: #fff;
    }

    .container .card::before
    {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        border: 20px solid transparent;
        border-top: 20px solid #ccc;
        border-right: 20px solid #ccc;
    }

    .container .card .icon
    {
        margin-bottom: 10px;
    }

        .container .card .icon img
        {
            max-width: 90px;
        }
        .container .card.active::before
        {
            border-top: 20px solid #89b428;
            border-right: 20px solid #89b428;
        }

        .container .card .content
        {
            position: relative;
            height: 215px;
            overflow: hidden;
        }


        .container .card .more
        {
            background-color: #89b428;
        }

        .container .card.active .more
        {
            background-color: #ccc;
        }

        .container .card.active .content
        {
            height: auto;
        }

            .container .card .content::before
            {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(transparent,#fff);
            }


            .container .card.active .content::before
            {
                display: none;
            }

        .container .card .content h7
        {
            font-size: 1.4em;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .container .card .content p
        {
            font-weight: 300;
        }

            .container .card .more::before
            {
                content: 'Read more';
            }

            .container .card.active .more::before
            {
                content: 'Close';
            }

/*------ Apply ------*/
.application
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 10px;
}

    .apply 
    {
        max-width: 700px;
        width: 100%;
        background: #fff;
        padding: 25px 30px; 
    }

        .apply .title
        {
            font-size: 27px;
            font-weight: 500;
            position: relative;
            
        }

            .apply .title::before
            {
                content: '';
                position: absolute;
                left: 86px;
                bottom: 0;
                height: 3px;
                width: 58px;
                background: #89b428;
            }
        
        .apply form .user-details
        {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin: 20px 0 12px 0;
        }

            .user-details .input-box-long
            {
                width: 100%;
                margin-bottom: 15px;
            } 

            .user-details .input-box
            {
                width: calc(100% / 2 - 20px);
                margin-bottom: 15px;
            }

            .user-details .details
            {
                display: block;
                font-weight: 500;
                margin-bottom: 5px;
            }

                
                .input-box input , .input-box-long input,select
                {
                    height: 45px;
                    outline: none;
                    border: 2px solid #ccc;
                    font-size: 16px;
                    padding-left: 15px;
                    transition: all 0.3s ease;
                }

                .input-box input , .input-box-long input
                {
                    width: calc(100% - 19px);
                }

                .input-box-long select
                {
                    width: 100%;
                    padding-left: 10px;
                }

                    .input-box input:focus , .input-box-long input:focus,select:focus, 
                    .input-box input:valid , .input-box-long input:valid,select:valid
                    {
                        border-color: #89b428;
                    }
        
        .apply form .gender-details
        {
            width: 100%;
        }    

            .apply form .gender-details .gender-title
            {
                font-weight: 500;
            }
                   
            .apply form .gender-details .category
            {
                display: flex;
                width: 33%;
                margin: 14px 0;
                justify-content: space-between;
            }

                .gender-details .category label
                {
                    display: flex;
                    align-items: center;
                }

                .gender-details .category .dot
                {
                    height: 15px;
                    width: 15px;
                    background: #ccc;
                    border-radius: 50%;
                    margin-right: 10px;
                    border:  5px solid transparent;
                    transition: all 0.3s ease;
                    cursor: pointer;
                }

                    #dot-1:checked ~ .category label .one,
                    #dot-2:checked ~ .category label .two
                    {
                        border-color: #ccc;
                        background: #89b428;
                    }

                    form input[type="radio"]
                    {
                        display: none;
                    }

    

        .apply form .submit-application
        {
            height: 45px;
            width: 100%;
            margin: 45px 0;
            
        }

        .submit-application input
        {
            height: 100%;
            width: 100%;
            border: none;
            color: #fff;
            background: #89b428;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

            .submit-application input:hover
            {
                background: #799f23;
            }

/*------ Privacy Policy ------*/
.privacy
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px;
   
}
.privacypolicy
{
    text-align: justify;
    width: 80%;
}

.privacypolicy ul
{
    margin-left: 20px;
}

/*------ Footer ------*/
.footer
{
    width: 100%;
    background: #3f3f3f;
    background-size:cover;
    text-align: center;
    padding: 30px 0;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer img
{
    width: 120px;
}

.footer h4
{
    color: #fff;
    margin-top: 20px;
    padding-bottom: 10px;
}

.icons .fa-brands
{
    color: #89b428;
    margin: 0 13px;
    cursor: pointer;
    padding: 10px 0;
    font-size: 28px;
}

.footer p
{
    color: #999;
    padding-top: 0px;
}

.legal
{
    color: #999;
    transition: 0.5s;
}

.legal:hover
{
    color: #fff;
    transition: 0.5s;
}

/*------ Phone Screens -------*/
@media screen and (max-width:992px) 
{
    .newsblog .content .cards
    {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:768px) 
{
    *
    {
        overflow-x: hidden;
    }

    .row
    {
        flex-direction: column;
    }
    
    .text-box h1
    {
        font-size: 20px;
    }

    
    .nav-links
    {
        position: fixed;
        background: #89b428;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

        .nav-links ul
        {
            padding: 30px;
        }  

        .nav-links ul li
        {
            display: block;
        }

        .nav-links ul li ul
        {
            display: none;
        }

    nav .fa-solid
    {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .cta h1
    {
        font-size: 20px;
    }

    .career .about-col
    {
        flex-basis: 100%;
    }

    .apply
    {
        max-width: 100%;
    }

        .apply form .user-details .input-box
        {
            margin-bottom: 15px;
            width: 100%;
        }
        .apply form .gender-details .category
        {
            width: 60%;
        }

    .newsblog .content .cards
    { 
        grid-template-columns: 1fr;
    }
}