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

body{
    /* background-color: black; */
    width: 100vw;
    background-color: aliceblue;
    background-image: url(./Images/services-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

header{
    width:100%;
    height: 100px;
    position:fixed;
    top:0;
    left:0;
    z-index: 999;
    display: flex;
    justify-content:space-around;
    align-items: center;
    padding: 20px;
    background-color: black;
    box-shadow: 0px 1px 1px white;
        background-image: url(/Images/home-bg-1.jpg);
    background-size: cover;
}

.logo-name{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-name img{
    height: 80px;
    width: 80px;
}

.logo-name h3 span{
    color: rgb(173, 0, 0);
    font-size: 1.5em;
}

.logo-name h3{
    color: white;
}

.menus{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

nav ul{
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    position: relative;
    text-decoration: none;
    font-size: 1.2em;
    color: white;
}

nav ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: rgb(36, 223, 230);
    transition: 0.5s linear;
}

nav ul li a:hover::after{
    width: 100%;
}

.btns{
    margin-right: -30px;
}

.btns button{
    position: relative;
    padding: 8px 20px;
    background-color: transparent;
    border-radius: 10px;
    font-size:1em;
    font-weight: 600;
    border: 2px solid rgb(36, 223, 230);
    margin-left: 20px;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    color: white;
}

.btns button::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgb(36, 223, 230);
    transition: 0.5s ease;
    z-index: -1;
}

.btns button:hover::before{
    width: 100%;
}

.certificates{

    margin-top: 10em;
}
.certificate-container{

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 5em;
    row-gap: 1em;
    margin-top: 50px;
}
.certificate-card{
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 20px;
    height: 420px;
    width: 450px;
    transition: 0.4s;
    border: 2px solid transparent;
    background: linear-gradient(#111,#111) padding-box,
    linear-gradient(45deg,#b66eee,#1b8599) border-box;
    border-radius: 20px;
    margin: 5px;
}
.certificate-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.503);
    border: 2px solid transparent;
    background: linear-gradient(#111,#111) padding-box,
    linear-gradient(45deg,#1b8599,#b66eee) border-box;
    border-radius: 20px;
}
.certificate-card img{
    height: 200px;
    width: 350px;
    position: relative;
    left:10%;
    padding-top: 10px;
    transition: 0.5s;
}
/* .certificate-card:hover img{
    transform: scale(1.05);
} */
.certificate-card h3{
    padding: 10px;
    color: aliceblue;

}
.certificate-card p{
    padding: 5px;
    text-align: justify;
    text-indent: 20px;
    color: aliceblue;
}

.skills span{
    background: transparent;
    color: black;
    padding: 5px 15px;
    border: 2px solid rgb(39, 183, 240);
    border-radius: 10px;
    margin:5px 5px;
    display: inline-block;
    font-size: 14px;
    color: aliceblue;
    cursor: pointer;
}

/* Toggle button hidden on desktop */
.toggle_btn{
    display: none;
    cursor: pointer;
}

.toggle_btn i{
    color: white;
    font-size: 28px;
}
/* Dropdown menu */
.dropdown{
    display: none;
    position: absolute;
    top: 80px;
    right: 0px;
    width: 250px;
    height: 0;
    background-color: rgba(0, 255, 255, 0.138);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border-radius: 10px;
    transition: height 0.3s ease;
    z-index: 1000;
}

.dropdown.open{
    height: 250px;
}

.dropdown li{
    list-style: none;
    padding: 15px;
    text-align: center;
}

.dropdown li a{
    text-decoration: none;
    color: rgb(0, 221, 255);
    font-size: 18px;
    display: block;
}

.dropdown li a:hover{
    color: rgb(255, 255, 255);
}

@media (max-width: 450px){
    header{
        justify-content: space-between;
        padding: 10px;
    }

    .logo-name img{
        width: 70px;
        height: 70px;
    }

    .logo-name h3{
        font-size: 1em;
    }

    .menus{
        display: none;
    }

    .btns button{
        display: none;
    }

    .toggle_btn{
        display: block;
    }

    .dropdown{
        display: block;
    }

    .details{
        position: relative;
        top: 10em;
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-bottom: 50px;
    }

    .content{
        width: 300px;
    }

    .content h1{
        font-size: 2em;
    }

    .btn{
        justify-content: space-around;
    }

    .social-media{
        text-align: center;
    }

    .media{
        justify-content: space-evenly;
        align-items: center;
    }
    .profile-img{
        position: relative;
        top: 20px;
        width: 250px;
        height: 250px;
    }
}