*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family:'Times New Roman', Times, serif;
}
body{
    background-color: black;
}

a{
    color: white;
    text-decoration: none;
}
.navbar{
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.navbar .logo{
    font-size: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

.navbar ul{
    display: flex;
}

.navbar ul li{
    list-style: none;
    margin: 35px;
    font-size: 30px;
}

.navbar ul li a{
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a,
.navbar ul li:active a{
    color: rgb(146, 233, 41);
}

.menu{
    color: white;
    font-size: 30px;
}

.home{
    display: flex;
    align-items: center;
    height: 80vh;
    padding: 60px 9% 0;
    color: white;

}

.me-home h1{
    font-size: 34px;
    padding: 0px 0px 0px 120px;
}

.me-home h2{
    font-size: 24px;
    padding: 0px 0px 0px 120px;
}

.me-home .sci{
    margin: 15px 0px 0px 130px;
}

.me-home .sci a{
    padding: 8px;
    display: inline-flex;
    border: 1px solid rgb(146, 233, 41);
    border-radius: 50%;
    font-size: 20px;
    color: rgb(146, 233, 41);
    margin: 0 8px;
    transition: 0.5s;
}

.me-home .sci a:hover{
    background: rgb(146, 233, 41);
    color: black;
    box-shadow: 0 0 10px rgb(146, 233, 41);
    transform: translateY(-5px);
    
}

.home-img .img-box{
    height: 26vw;
    width: 26vw;
    border-radius: 50%;
}

.home-img .img-box .img-item {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.home-img .img-box .img-item img{
    position: absolute;
    display: block;
    width: 100%;
    object-fit: cover;
}

.About {
    padding: 80px 4%;
    color: white;
}

.heading {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    text-decoration: underline;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.about-left img {
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(146, 233, 41, 0.4);
}

.about-right {
    flex: 1;
}

.about-text {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tabs {
    margin: 20px 0;
}

.tab-links {
    margin-right: 30px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.4s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.tab-contents ul li {
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #ff004f;
    font-weight: bold;
}

.Services{
    color: white;
    padding: 30px 0; 
}

.Programs h1{
    font-size:44px;
    text-align:center;
    text-decoration:underline;
    margin-bottom:50px;
    color:white;
}

.Service-list{
    margin: 38px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px , 1fr));
    grid-gap: 40px;
    margin-top: 50;
}

.Service-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: 0.5s;
}

.Service-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}

.Service-list div h2{
    font-size: 30px;
    margin-bottom: 16px;
}

.Service-list div p{
    font-size: 18px;
    margin-bottom: 5px;
}

.Service-list div a{
    font-size: 16px;
    color: white;
    display: inline-block;
}

.Service-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
}

/*---------------- Skills ----------------*/

#Skills{
    padding:30px 0;
}

.Skills{
    color:white;
    padding:30px 0;
}

.skills-list{
    margin:38px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
}

.skill-card{
    background:#262626;
    padding:30px;
    border-radius:10px;
    text-align:center;
    transition:.5s;
}

.skill-card i{
    font-size:50px;
    margin-bottom:20px;
    display:block;
}

.skill-card span{
    font-size:22px;
    font-weight:600;
}

.skill-card:hover{
    background:#ff004f;
    transform:translateY(-10px);
}

.Contacts{
    color: white;
    margin-top: 10px;
}

.Contacts h1{
    text-align: center;
    font-size: 44px;
    text-decoration: underline;
}

.Contact-info {
    display: flex;
    padding: 10px;
}

.left-side {
    margin-left: 18px;
    font-size: 28px;
    font-weight: 700;

}

.resume-buttons{
    display:flex;
    gap:15px;
    margin-top:25px;
    flex-wrap:wrap;
}

.resume-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-decoration:none;
    color:#fff;
    background:#ff004f;
    padding:12px 24px;
    border-radius:30px;
    font-size:18px;
    font-weight:600;
    transition:0.3s ease;
    box-shadow:0 0 15px rgba(255,0,79,0.5);
}

.resume-btn:hover{
    background:#ff2d6d;
    color:#fff;
    transform:translateY(-4px);
    box-shadow:0 0 25px rgba(255,0,79,0.8);
}

.right-side{
    font-size: 25px;
    margin-left: 200px;
}

input[type="text"],
input[type="email"],
textarea{
    padding: 10px;
    font-size: 20px;
    margin-top: 8px;
    width: 200%;
    border: 1px solid;
    border-radius: 5px;
}

textarea{
    height: 200px;
}

input[type="submit"] {
    padding: 10px;
    margin-top: 8px;
    font-size: 20px;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    transition: 0.5s;
}

input[type="submit"]:hover{
    background-color: #4caf84;
}

.Footer-list{
    background-color: grey;
    color: white;
    width: 100%;
    text-align: center;
    font-size: 19px;
    margin-top: 18px;
    padding: 25px 0;
}

.menu{
    display: none;
}


@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-left img {
        width: 200px;
    }
}

@media all and (max-width:768px) and (min-width:320px){
    .menu{
        display: block;
        font-size: 25px;
    }

    .navbar ul{
        position: fixed;
        background: #4caf84;
        top: 0;
        right: -250px;
        width: 110px;
        height: 80vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.55s;
    }    

    .navbar ul{
        display: block;
        margin: 25px;
    }

    .navbar ul .menu{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .home{
        display: block;
        margin: 2px;
    }

    .home-img .img-box{
        height: 200px;
        width: 200px;
    }

    .me-home h1{
        font-size: 22px;
        margin: 10px;
        padding-left: 10px;
    } 

    .me-home h2{
        font-size: 20px;
        padding-left: 50px;
    }

    .home .me-home .sci{
    font-size: 15px;
    margin: 2px;
    margin-top: 25px;
    }

    .Contact-list{
        display: block;
        font-size: 20px;
    }

    .Contact-info{
        display: block;
    
    }
    .left-side{
        margin-top: 10px;
        font-size: 20px;
    }

    .right-side{
        margin-left: 10px;
        margin-top: 10px;
    }

     input[type="text"],
    input[type="email"],
    textarea{
        width: 100%;
}

    .right-side [type="submit"] {
        width: 50%;
    }

    .Footer-list{
        font-size: 17px;
    }
}


/* ---------------- Portfolio ---------------- */

#Portfolio{
    padding:80px 8%;
}

.work-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    grid-gap:40px;
}

.work{
    border-radius:15px;
    position:relative;
    overflow:hidden;
}

.work img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
    transition:transform .5s;
}

.layer{
    width:100%;
    height:0;
    background:linear-gradient(rgba(0,0,0,.7),#ff004f);
    border-radius:15px;
    position:absolute;
    left:0;
    bottom:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:0 30px;
    text-align:center;
    transition:height .5s;
}

.layer h3{
    font-size:22px;
    margin-bottom:15px;
}

.layer p{
    font-size:15px;
    line-height:24px;
}

.layer a{
    margin-top:20px;
    color:#ff004f;
    text-decoration:none;
    font-size:22px;
    width:50px;
    height:50px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.layer a:hover{
    background:#ff004f;
    color:#fff;
}

.work:hover img{
    transform:scale(1.1);
}

.work:hover .layer{
    height:100%;
}

