*{
    margin: 0px;
    box-sizing: border-box;
    padding: 0px;
}

body{
    background-color: #1e1e1e;
    font-family: sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.6;
}
.main-container{
    display: grid;
    max-width: 1200px;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 40px;
    margin: auto;
}

.sidebar{
    height: 90vh;
    background-color: #2a2a2a;
    border: 5px solid #3a3a3a;
    border-radius: 15px;
    padding: 40px;
    position: sticky;
    top: 40px;


}
.main-content{
    background-color: #2a2a2a;
    border: 5px solid #3a3a3a;
    border-radius: 15px;  
    padding: 40px; 
}

/*  Profile Section */
.profile{
    text-align: center;
}

.profile img{
    height: 110px;
    width: 110px;
    border-radius: 50%;
    border:  5px solid #3a3a3a;
}
.profile h2{
    margin-top: 10px;
    font-weight: 70;
}
.profile p{
    background-color: #1e1e1e;
    padding: 5px 15px;
    color: rgb(154, 154, 7);
    font-weight: 70;
    border-radius: 10px;
    display: inline;
    margin-top: 20px;
}

/* Contact section */

.contact{
    margin-top: 30px;
    border-top: 2px solid #3a3a3a;
    padding-top: 20px;
}
.lable{
     font-weight: 70;
     color: #000000;
}

.value{
    text-decoration: none;
      color: #a0a0a0;
}
.value:hover{
    color: #ffffff;
}
/* Social Media */

.social{
    margin-top: 30px;
    border-top: 2px solid #3a3a3a;
    padding-top: 20px;
    text-align: center;
}

.social img{
    height: 24px;
    width: 24px;
    margin-left: 7px;
}
.social img{
    filter: brightness(0) saturate(100%) invert(86%) sepia(100%) 
    saturate(0%) hue-rotate(68deg) brightness(112%) contrast(94%);
} 
.social img:hover{
    filter: none;
}


/* Main Content */
/* Navigation */

.navigation{  
    border-bottom: 2px solid #3a3a3a;
    margin-bottom: 20px;
    padding-bottom: 20px; 
}
nav{
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    text-decoration: none;
    /* border-bottom: 2px solid #3a3a3a;
    margin-bottom: 20px;
    padding-bottom: 20px; */
}
nav a{
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 520;
    
}
nav a:hover{
    color: #FFBF00;
}
.active{
    color: #FFBF00;
}

/* About me */

.heading{
    font-size: 2rem;
    margin-bottom:15px ;
    color: #e0e0e0;
}

.line{
    width: 50px;
    height: 5px;
    background-color:#FFBF00;
    margin-bottom: 15px;
    border-radius: 10px;
}
.content{
    text-align: justify;
    color: #a0a0a0;
}

#aboutme{
    margin-bottom: 35px;
}

.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap: 30px;
}

.item{
    padding: 20px;
    text-align: center;
     background-color: #1e1e1e; 
    border-radius: 10px;
    border: 2px solid #3a3a3a;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, boxshadow 0.3 ease;
}
.item img{
    height: 48px;
    width: 48px;
    filter: brightness(0) saturate(100%) invert(71%) 
    sepia(99%) saturate(1456%)    hue-rotate(357deg) brightness(103%) contrast(103%); 
    margin-bottom: 10px;
}
.item h3{
    height: 1rem;
    font-weight: 500;
}
.item:hover{
     transform:  scale(1.1) ;
     box-shadow: 0px 0px 10px 5px rgba(164, 162, 162, 0.3);
}

/* Education */

#education{
    margin-top: 35px;
}
.edtech{
     position: relative;
     margin-top: 20px;
} 

.year{
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 5px;

}
.degree{
    color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.college{
    font-style:italic;
    color: #a0a0a0;
    margin-bottom: 10px;
}
.work{
    color: #a0a0a0;
}
.btech ,.second,.third{
    margin-bottom: 30px;
    position: relative;
    padding-left: 25px;

}

.circle{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: 3px solid #FFBF00;
    position: absolute;
    top: 5px;
    left: 1px;
    z-index: 5;
}

.liner{
    position: absolute;
    width: 2px;
    top: 5px;
    bottom: 0px;
    left: 6px;
    border: 2px solid #3a3a3a;
}


.project-container{
    display: grid;
    grid-template-columns: 1fr  1fr;
    gap: 25px;
    margin-top: 20px;
}
.projects{
    background-color: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.projects:hover{
    transform: translateY(-10px);
     box-shadow: 0px 0px 10px 5px rgba(164, 162, 162, 0.3);

}

.projects img{
        height: 180px;
        width: 100%;
        object-fit: cover;
}
.card{
    padding: 20px;
}
.card h3{
    color: #e0e0e0;
    margin-bottom: 10px;
}
.card p{
    color: #a0a0a0;
    line-height: 1.6;
    text-align: start;
    margin-bottom: 20px;
}
.card span{
    background-color: rgba(255,191,0,0.1);
    color:#FFBF00;
    padding: 4px 8px;
    border-radius:  7px;
    font-size: 0.75rem;
    margin-right: 5px;
}

@media screen and (max-width:1200px) {
    .main-container{
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .sidebar{
        position: static;
        height: auto;
    }
}

@media screen and (max-width:750px) {
    .project-container{
        grid-template-columns: 1fr;
    }

    #navigation nav {
        /* Adjust nav for smaller screens */
        justify-content: center;
        flex-wrap: wrap;
    }

    .sidebar{
        display: flex;
        justify-content: center;
        gap: 40px;
    }
}

