*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
body{
    background-color: #1e1e1e;
    font-family: 'Times New Roman', Times, serif;
    color: #a0a0a0;
    line-height: 1.6;
}
.container{
    display: grid;
    max-width: 1200px;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    padding: 40px;
    margin: auto;
}
.sidebar{
    height: 110vh;
    background-color: #2a2a2a;
    border:2px solid #3a3a3a;
    border-radius: 15px;
    padding: 40px;
    position: sticky;
    top: 40px;
}
.sidebar {
  opacity: 0;
  animation: fadeIn 2.2s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.maincontent{
    /* height: 90vh; */
    background-color: #2a2a2a;
    border:2px solid #3a3a3a;
    border-radius: 15px;
    padding: 40px;
}
/* Profile Section */
.profile{
    text-align: center;
}
.profile img{
    height: 120px;
    width: 120px;
    border: 1px solid #3a3a3a;
    border-radius: 50%;
}
.profile h2{
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: #e0e0e0;
}
.profile p{
    background-color: #1e1e1e;
    padding: 5px 15px;
    color: #FFBF00;
    border: 1pxsolid #3a3a3a;
    font-size: 0.9rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}
/* Contact Section */
.contacts{
    margin-top: 30px;
    border-top: 2px solid #3a3a3a;
    padding-top: 20px;
}
.label{
    font-weight: 500;
    font-size: 0.8rem;
    color: #a0a0a0;
}
.value{
    color: #e0e0e0;
    text-decoration: none;
}
.email,.phone{
    margin-bottom: 10px;
}
/* Social */
.social{
    margin-top: 30px;
    border-top: 2px solid #3a3a3a;
    padding-top: 20px;
    text-align: center;
}
.social img{
    height: 24px;
    width: 24px;
    margin-left: 5px;
    filter: grayscale(1) invert(0.7);
    transition: filter 0.3s ease;
}
.social img:hover{
    filter: grayscale(0) invert(0);
}
/* Main Content */
#navigation{
    border-bottom: 2px solid #3a3a3a;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
nav{
    display: flex;
    justify-content: end;
    gap: 20px;
    
}
nav a{
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 500;
    transition: color 0.3s ease;
}
.active, nav a:hover{
    color: #FFBF00;
}
/* About Me */
.heading{
    color: #e0e0e0;
    font-size: 2rem;
    margin-bottom: 15px;
}
.line{
    width: 60px;
    height: 5px;
    background-color: #FFBF00;
    margin-bottom: 15px;
}
.content{
    text-align: justify;
    color: #a0a0a0;
}
#About{
    margin-bottom: 40px;
}
/* Skills */
.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit , minmax(120px,1fr));
    gap: 30px;
}
.item img{
    height: 48px;
    width: 48px;
    filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(350deg) brightness(110%) contrast(110%);
 }

/* #java{
    height: 60px;
    width: 60px;
} */
 .item{
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #3a3a3a;
    background-color: #1e1e1e;
    text-align: center;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item h3{
    font-size: 1rem;
    font-weight: 800;
}
.item:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3);
}
/* Education */
#Education{
    margin-top: 30px;
}
.edtech{
    position: relative;
}
.year{
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 5px;
}
.degree{
    color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.college{
    font-size: 1.08rem;
    font-style: italic;
    color: #a0a0a0;
    margin-bottom: 5px;
}
.work{
    color: #a0a0a0;
}
.f1{
    position: relative;
    padding-left: 25px;
}
.goal{
    z-index: 5;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: 3px solid #FFBF00;
    position: absolute;
    top: 5px;
    left: 0px;
}

.liner{
    position: absolute;
    width: 2px;
    top: 20px;
    bottom: 0px;
    left: 5px;
    border: 2px solid #3a3a3a;
}
/* Focus */
#Focus{
    margin-top: 30px;
}
.list{
    margin-left: 20px;
    color: #a0a0a0;
}
/* Tablet (Your 587px laptop will fall here) */
@media screen and (max-width:768px){
    .container{
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    .sidebar{
        position: static;
        height: auto;
    }
}

/* Mobile */
@media screen and (max-width:480px) {
    #navigation nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sidebar{
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }
}
