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

body {
    font-family: "Poppins", sans-serif;
    background-color: #1e1e1e;
    color: #a0a0a0;
    line-height: 1.6;

}

.main-container {
    display: grid;
    max-width: 1200px;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin: auto;
    margin-top: 50px;

}

.sidebar {
    background-color: #2a2a2a;
    height: 90vh;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 30px;
    position: sticky;
    top: 40px;

}

.maincontent {
    background-color: #2a2a2a;

    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 40px;
}

.profile {
    text-align: center;
}

.profile img {
    border-radius: 50%;
    height: 180px;
    width: 180px;
    border: 1px solid #3a3a3a;

}

.profile h2 {
    margin-top: 17px;
    font-size: 1.5rem;
    font-weight: 600px;
    color: #e0e0e0;
}

.profile p {
    margin-top: 8px;
    font-size: 1rem;
    display: inline-block;
    background-color: #1e1e1e;
    padding: 5px 15px;
    border-radius: 8px;
    color: hwb(46 20% 4%);
    border: 1px solid #3a3a3a;

}

.contact {
    margin-top: 10px;
    border-top: 3px solid #3a3a3a;
    padding-top: 10px;
}

.labels {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: 10px;


}

.heading {
    margin-top: 10px;
    text-decoration: none;
    color: #e0e0e0;
}

.socialmedia {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 3px solid #3a3a3a;

}

.socialmedia img {
    margin-top: 20px;
    height: 26px;
    width: 26px;
    margin-left: 8px;
    filter: grayscale(1) invert(0.7);
    transition: filter 0.3s ease;
}

.socialmedia img:hover {
    filter: grayscale(0) invert(0);
}

nav {

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 60px;
    border-bottom: 2px solid #3a3a3a;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 200;
    transition: color 0.3s ease;

}

.active {
    color: #FFBF00;
}

nav a:hover {
    color: #FFBF00;
}

.aboutme {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.line {
    width: 70px;
    height: 5px;
    background-color: #FFBF00;
}

.content {
    color: #a0a0a0;
    text-align: justify;
    padding-top: 10px;
    margin-bottom: 15px;
}

.skill {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.liner {
    width: 70px;
    height: 5px;
    background-color: #FFBF00;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    margin-top: 25px;
}

.items {
    border: 1px solid #3a3a3a;
    padding: 20px;
    border-radius: 10px;
    background-color: #1e1e1e;
    text-align: center;
}

.items img {
    height: 45px;
    width: 45px;
    filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(350deg) brightness(110%)contrast(101%);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.items h3 {
    font-size: 1rem;
    font-weight: 300;
}

.items:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
    
}

.educatn {
    position: relative;
    margin-bottom: 25px;
    margin-top: 25px;

}

.edu {
    margin-top: 20px;
    font-weight: 200px;
    font-size: 1.5rem;
    color: #e0e0e0;
}

.linerr {
    width: 70px;
    height: 5px;
    background-color: #FFBF00;
    margin-top: 15px;
    margin-bottom: 15px;
}

.firstedu {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.secedu {
    margin-top: 10px;
    position: relative;
    padding-left: 30px;
}

.year {
    font-size: 0.9rem;
    color: #e8dddd;
    margin-bottom: 5px;

}

.deg {
    color: #e0e0e0;
    font-weight: 200px;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.clg {
    font-style: italic;
    color: #e8dddd;
    margin-bottom: 10px;
    font-weight: 150px;
    font-size: 0.8rem;
}

.work {
    color: #a0a0a0;
}

.circle {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: 3px solid #FFBF00;
    position: absolute;
    top: 0px;
    left: 0px;
}

.blckline {
    position: absolute;
    width: 2px;
    top: 0px;
    bottom: 0px;
    border: 2px solid #3a3a3a;
    left: 6px;
    z-index: 5px;
}

.port {
 font-weight: 200px;
    font-size: 1.5rem;
    color: #e0e0e0;
}
.liners{
     width: 70px;
    height: 5px;
    background-color: #FFBF00;
    margin-top: 15px;
    margin-bottom: 15px;
}
.project-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.projects img{
   height: 180px;
   width: 100%;
   background-color: #e8dddd;
   object-fit: cover;
    
}
.projects{
    background-color: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    margin-top: 20px;
}
.projects:hover{
    transform: translateY(-10px);
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
}
.card{
    padding: 20px;

}
.card h3{
    color: #e0e0e0;
    margin-bottom: 10px;

}
.card p{
    color: #a0a0a0;
    line-height: 1.6;
    text-align: start;
    margin-bottom: 15px;
}
.card span{
    background-color: rgba(255, 191, 0, 0.1);
    color: #FFBF00;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    margin-right: 15px;
    
}
@media screen and (max-width:1200px){
.main-container{
    grid-template-columns: 1fr;
    padding: 20px;
}
.sidebar{
    position: static;
    height: auto;
}
}
/* Mobile Responsive: 480px screen par 2 columns ke liye */
@media (max-width: 480px) {
    .grid-container {
        
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    
    .items {
        padding: 15px 10px;
        width: 200px;
        height: 190px; 
        margin-left: 60px;
        
    }
    .items img{
       margin-top: 25px;
    }

    .items h3{
        font-size: 0.9rem; 
       
    }
}
/* Tablet Responsive: 481px se 768px ke liye */
@media (min-width: 481px) and (max-width: 768px) {
    .grid-container {
       
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
    }

    .items img {
        height: 50px;
        width: 50px;
    }
}
@media (max-width: 480px) {
    .project-container {
        
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    
    .items {
        padding: 15px 10px;
        width: 200px;
        height: 210px; 
        margin-left: 60px;
        
    }
    .items img{
       margin-top: 25px;
    }

    .items h3{
        font-size: 0.9rem; 
       
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .project-container {
       
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
    }

    .items img {
        height: 50px;
        width: 50px;
    }
}