:root{
    color-scheme: light;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Kedebideri', sans-serif;
}

/*.navbar{
    background-color: #ffff;
    display: flex;
    /*border: 2px solid black;
    width: 100%;
}*/

.nav_container{
    display: flex;
    /*border: 2px solid rgb(197, 13, 13);*/
    width: 100%;
    align-items: center;
    padding-left: 40px;
    background-color: #ffff;
    position: relative;
    justify-content: space-between;
    
}

.nav_container .navlinks{ /*.navlinks=ul*/
    list-style: none;
    display: flex;
    color: black;
    gap: 32px;
    /*border: 2px solid black;*/
    margin-right: 30px;
}

.navlinks a{
    text-decoration: none;
    color: black;
    font-weight: normal;
    position: relative;
    cursor: pointer;
    transition: font-weight 0.3s ease, color 0.3s ease;
}

.nav_container .navlinks a:hover{
    font-weight: bold;
}

.nav_container .navlinks a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}
    
.nav_container .navlinks a:hover::after{
    width: 100%;
}

#nav_cta a{ /*Get a quick quote button*/
    background-color: rgb(0, 0, 0);
    color: #ffff;
    padding: 9px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all ease 0.3s;
}

#nav_cta a:hover{
    background-color: rgb(255, 255, 255);
    color: #000000;
}

.hamburger{
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span{
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s;
}

/*Navbar to ham menu */
@media (max-width: 600px) {

    #nav_cta a{
        text-decoration: none;
        color: black;
        font-weight: normal;
        position: relative;
        cursor: pointer;
        transition: font-weight 0.3s ease, color 0.3s ease;
        background-color: #ffffff;
        padding: 10px;
        display: block;
        border-radius: 8px;
    }

    .hamburger{
        display: flex;
        margin: 12px;
    }

    .navlinks{
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #0a2e20;
        flex-direction: column;
        width: 70%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 20px !important ;
        z-index: 1000;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        margin-right: 0 !important ;
        
    }

    .navlinks.active{
        max-height: 350px;
    }

    .navlinks li{
        padding: 10px;
        border-top: 1px solid #444;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .navlinks a{
        color: white;
    }


}

/* Hero Section */

.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /*border: 2px solid red;*/
    }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    }

        .slideshow-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .slide.active {
            opacity: 1;
        }

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

        .hero-content {
            position: relative;
            z-index: 2;
            color: white;
            max-width: 600px;
            padding: 0 3rem;
            margin-left: 3rem;
            /*border: 2px solid orange;*/
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
            animation: fadeInUp 1s ease-out;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .cta-button {
            background: black;
            color: white;
            padding: 1rem 3rem;
            font-size: 1.2rem;
            font-weight: 600;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(100, 200, 103, 0.4);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgb(255, 255, 255);
        }

        .cta-button a{
            text-decoration: none;
            color: white;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Slide indicators */
        .slide-indicators {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 2;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: white;
            transform: scale(1.2);
        }

@media(max-width: 600px){

    .hero{
        height: 70vh;
    }

    .hero-content{
        margin: 0;
        max-width: 370px;
    }

    .hero h1{
        font-size: 32px;
    }

    .hero p{
        font-size: 17px;
    }

    .cta-button{
        font-size: 17px;
    }
}

.about_container{
    /*border: 2px solid black;*/
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background-color: #ffffff;
    width: 100%;
}

.about_content{
    /*border: 2px solid red;*/
    flex-basis: 800px;
    text-align: center;
    justify-items: center;
    padding: 20px;
}

.about_content .top{
    background-color: rgb(212, 212, 212);
    width: 100px;
    padding: 2px;
    margin-top: 3px;
    font-size: 20px;
}

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

.about_content a{
    text-decoration: none;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    padding: 9px;
    border: 2px solid black;
    border-radius: 8px;
    transition: all 0.3s ease;
    /*box-shadow: 0 10px 30px grey;*/
    display: block;
}

.about_content a:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 30px black;

}

/*Project Tiles*/

.card_container{
    width: 80%;
    /*Removed height made it responsive*/
    margin-top: 0px;
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 600px){
    .card_container{
        width: 100%;
    }
}

#cards{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f3f3f3;
}

.project_card{
    width: 350px;
    background-color: #ffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 450px;
    flex-basis: 350px;
    flex-shrink: 1;
}


.project_card:hover{
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card_image{
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.project-card:hover .card-image img {
    transform: scale(1.1);
    }

.card_content{
    padding: 1.5em;
}

.card_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card_category {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
    
.card_year {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.card_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.card_icons img{
    height: 20px;
}

.card_icons{
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.item{
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 2.3;
    color: rgb(96, 213, 195);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media(max-width: 600px){
    /*.card_icons img{
        height: 15px;
    }*/

    .card_icons{
        gap: 4px;
    }

    .card_title{
        font-size: 1.2rem;
    }

    .item{
        font-size: 10px;
    }
}
#cardlink a{
    text-decoration: none;
    color: black;
    border: 2px solid black;
    padding: 9px;
    border-radius: 8px;
    font-size: 17px;
    transition: all ease 0.3s;
}

#cardlink a:hover{
    background-color: black;
    color: #ffffff;
}

#cardlink{
    text-align: center;
}

.more_container{
    /*border: 2px solid red;*/
    height: 60px;
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services_section{
    /*border: 2px solid black;*/
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: auto;
    max-width: 80%;
}

.services_container{
    /*border: 2px solid rgb(43, 50, 115);*/
    border-radius: 16px;
    padding: 28px 16px;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 2px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

/*Service icon*/

.service_icon img{
    height: 60px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 10px;
    filter: brightness(0) saturate(100%);/*Makes the svg img pure black*/
    transition: filter 0.3s ease;
}

.services_container:hover {
    background: #000000;
    border-color: #1a1a1a;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: white;
}

.services_container:hover img{
    filter: brightness(0) invert(1); /*Turns the svg img to black*/
}

.btncontainer{
    width: 100%;
    background-color: #ffffff;
    padding: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn1,
.btn2{
    padding: 8px;
    font-weight: 500;
    font-size: 17px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn1:hover{
    background-color: black;
}

.btn2:hover{
    background-color: black;
    color: #ffffff;
}


.btncontainer a{
    text-decoration: none;
    color:black
}

/*A bug here to be solved later on hover the background changes but the text color wait till hovered on */
.btncontainer a:hover{
    color: #ffffff;
}

.footer_container{
    max-width: 100%;
    min-height: 400px;
    background-color: #33383e;
    padding: 50px;
    /*border: 2px solid red;*/
}

.footer_contents{
    /*border: 2px solid ;*/
    display: flex;
    min-height: 250px;
    color: #929dab;
    justify-content: space-evenly;
    margin-top: 10px;
    flex-wrap: wrap;
}

@media(max-width: 600px){
    address iframe{
        max-width: 270px;
    }
    .footer_contents div{
        text-align: center;
    }
}

.copyright{
    max-width: 100%;
    min-height: 40px;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #5d6268;
}

@media(max-width:600px){
    .copyright{
        display: flex;
        flex-direction: column;
        min-height: auto;
        text-align: center;
        flex-wrap: wrap;
    }
}

.Clients_Container{
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 20px;
    /*border: 2px solid orange;*/
}

.logo_containers{
    display: flex;
    width: max-content;
    animation: scroll 12s linear infinite;
    /*border: 2px solid red;*/
}

.logo_containers img {
    height: 100px;
    margin: 10px 20px;
    object-fit: contain;
}

@keyframes scroll {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }

@media(max-width: 600px){
    .Clients_Container{
        border-radius: 0;
    }
    
    .logo_containers img{
        height: 65px;
    }

    .Clients_Container{
        height: 130px;
    }
}

#meta-item{
    background-color: rgb(220, 252, 241);
    padding: 0 8px;
    border-radius: 20px;
}

#underline{
    border-bottom: 3px solid #32c985;
    color: #4e4e4e;
}

.wrapper{
    height: 110vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
}
