*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'sans-serif';
    box-sizing: border-box;

}
html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #fff;

}

#header {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;   
    padding: 20px;
}

#particles-js 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-color: #00111c; 
}

.container{
    padding: 10px 30%;

}

.container .row p{
    margin-top: 10px;
}

nav {
    display: flex;
    justify-content: flex-end; 
    background-color: #1e1e1e;
    padding: 15px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: fixed;
    top: -100px; 
    left: 0;
    right: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out forwards;
}

/* List styling */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}


nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f3dd71;
}

@keyframes slideDown {
    to {
        top: 0;
    }
}
.header-text {
    margin-top: 20%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;   

}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}

.header-text p{
    font-size: 24px;

}
.view-work {
    margin-top:60px;
    background-color: #1e1e1e;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0px 10px 10px #000000b3;
    cursor: pointer;
    
}
.view-work a{
    color: #fff;
    text-decoration: none;
}

.view-work:hover i{
    animation: bounce 1.5s;
    animation-iteration-count: infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
.view-work:hover{
    font-weight: 400;
    background: #f3dd71;
    transition: 0.5s;
    transform: translateY(-10px);
}
.header-text h1 span{
    color: #f3dd71;
}

#about{
    padding: 50px 0;
    color: #fff;
    font-weight: 200;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-column-1{
    flex-basis: 35%;
}
.about-column-1 img{
    
    display: block;
    margin:auto;
    margin-top: 10px;
    width: 30%;
    border-radius: 10px;

}
.about-column-2{
    margin-top:50px;
    flex-basis: 60%;
    
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;

}

.tab-titles{
    display:flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;

}
.tab-links:hover{
    color: #f3dd71;
    transform: translateY(-10px);
    transition: 0.5s;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background:#f3dd71;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style:none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #30231a;
    font-size: 14px;

}
.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

#services{
    padding:30px 0;
    

}


.experiences-list{
    display: flex;
    text-align: center;
    flex-direction: column;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    cursor: pointer;


}

.experiences-list div{
    background: #262626;
    padding: 20px;
    width: 40%;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.7);
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    
}

.experiences-list div i{
    font-size: 50px;
    margin-bottom: 30px;
    
}

.experiences-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.experiences-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline inline-block;
}

.experiences-list div:hover{
    background: #f3dd71;
    transform: translateY(-10px);

}
.experience-box {
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}
.experience-box:hover {
    background-color: #555;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    text-align: center;
    background-color: #262626;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    color: #fff;
    position: relative;
}

.modal-content img{
    margin-top: 30px;
    width: 20%;

}
.modal-content img:hover{
    transform: translateY(-5px);
    transition: 0.5s;
    
}

.close {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}
#portfolio{
    padding: 50px 0;

}
.work-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
#work-exp img{
    border-radius: 10px;
    width: 50%;
}
.modal-content a{
    color: white;
    text-decoration: none;
    padding: 10px;
    background: #555;
    border-radius: 10px;
    position: relative;
    top:15px;
    display: inline-block;
}
.modal-content a:hover{
    transform: translateY(-5px);
    background: #f3dd71;
    transition: 0.5s;
}
#resumeModal .modal-content{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -71%);
    position: fixed;
    z-index: 1001;
}
.modal-content span img{
    width: 75%;
}

.work{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
}
.work img{
    max-width: 240px;
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;

}
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #f3dd71);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    font-size: 14px;
    transition: height 0.5s ease;
}

.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color:#f3dd71;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;

}
.work {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.work img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s ease;
}
.work:hover img {
    transform: scale(1.05);
}
.work:hover .layer {
    height: 100%;
}

.work:hover img{
    transform: scale(1.1);

}

.work:hover .layer{
    height: 100%;

}


.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #f3dd71;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;

}

.btn:hover{
    background: #f3dd71;
    transition: 0.5s;
}

.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-right p{
    text-align: center;
    font-size: 40px;
    font-weight: 600;
}
.contact-left p i{
    color:#f3dd71;
    margin-right: 15px;
    font-size: 25px;
}
.contact-left h1{
    font-size: 40px;
    text-align: left;
    margin-bottom: 10px;
}
.contact-left .btn{
    margin-left: -10px;
    margin-top: 10px;
}
.footer{
    background:#1e1e1e;
    padding: 10px;
}
.footer .social-icons{
    text-align: center;
}
.footer .social-icons a{
    text-decoration: none;
    font-size: 30px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
    margin: 5px;
}
.footer .social-icons a:hover{
   color: #f3dd71;
   transform: translateY(-5px);
}
.footer p{
    font-size: 15px;
}
.btn.btn2{
    display: inline block;
    background: #f3dd71;
}
.btn.btn2:hover{
    transform: translateY(-5px);
    transition: 0.5s;
}
.contact-right form{
    width:100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

nav .fas{
    display: none;
}

/*css for small screens*/
@media only screen and (max-width: 600px){
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;    
        }

    nav .fas{
        display: none;
        font-size: 25px;
    }
    nav ul{
        background:#f3dd71;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;

    }

    nav ul li{
        display: block;
        margin: 25px;

    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;

    }

}
#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}
.languages{
    visibility: hidden;

}

.languages::after{
    visibility: visible;
}