@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');    
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&display=swap');
html{
    scroll-behavior: smooth;
}
*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}
::-webkit-scrollbar{
    width: 7px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 4, 15, 0.966); 
}
::-webkit-scrollbar-thumb {
    background: rgb(255, 51, 0); 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(160, 43, 0); 
}
.navbar{
    font-family: 'Poppins', sans-serif;
    width: 300px;
    height: 500px;
    position: fixed;
    top: 0;
    right: -300px;
    background-color: #191919;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right .5s cubic-bezier(1,0,0,1);
    z-index: 100000;
}
.change{
    right: 0;
}
.navlist{
    text-align: right;
}
.navitem{
    list-style: none;
    margin: 25px;
}
.navlink{
    text-decoration: none;
    letter-spacing: 1px;
    color: white;
}
.hamenu{
    width:45px;
    height: 40px;
    position: fixed;
    top: 50px;
    right: 0px;
    /* background-color: red; */
    background-color: #191919;
    border-radius: 4px 0 0 4px;
    padding: 5px 0px 5px 5px;
    /* margin: 2px; */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: all 0.5s;
}
.change .hamenu{
    right: 20px;
}
.line{
    width: 90%;
    height: 4px;
    transition: all .5s;
    background-color: orangered;
    border-radius: 2px;
}
.change .line-1{
    transform: rotateZ(-405deg) translate(-8px,6px);
}
.change .line-3{
    transform: rotateZ(405deg) translate(-8px,-6px);
}
.change .line-2{
    opacity: 0;
}
.navbar{
    display: none;
}
nav.sticky{
    padding: 10px 70px;
    background:rgba(24, 24, 24, 0.89);
}
nav{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    transition: 0.4s;
    padding: 40px 50px;
    z-index: 100000;
}
nav ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul li{
    position: relative;
    list-style: none;
}
nav ul li a{
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    position: relative;
    margin: 0 20px;
    text-decoration: none;
    color: grey;
    font-weight: 500;
}
nav ul li a:hover,nav ul li a:active{
    color: white;
    text-shadow: 0 0 0.1em rgba(255, 255, 255, 0.76);
    transition: .1s ease-in-out;
}
.under::after{
    padding-left: 0;
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 2px;
    bottom: 0%;
    left: 50%;
    background: rgb(228, 118, 28);
    box-shadow: 0 0 0.1em rgba(252, 43, 43, 0.76);
    transition: all .3s ease-in-out;
}
.under:hover::after{
    left: 0%;
    width: 100%;
    transition: all .3s ease-in-out;
}
.intro{
    padding-top: 35vh;
    background-image: url("images/background.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    height: 100vh;
}
.title{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    border: 7px solid rgba(255, 255, 255, 0);
    border-radius: 10px;
    /* transition: 1s ease; */
    transition: transform 0.1s linear; /* Faster, linear transition often feels better with JS */
}

.intro .btn a{
    font-family: 'Press Start 2P', cursive;
    font-size: 30px;
    font-weight: 600;
    bottom: 30px;
    left: 50%;
    position: absolute;
    padding: 0.4em 0.7em;
    background-color: yellow;
    border-radius:0.1em;
    box-sizing: border-box;
    text-decoration:none;
    color: black;
    transition: 0.5s ease-in-out;
    overflow: hidden;
}
.btn a::before{
    content: '';
    position: absolute;
    top: 0;
    left: -250%;
    width: 250%;
    height: 50%;
    background-color: rgb(255, 255, 255);
    opacity: 0.4;
    transform:rotate(45deg);
    transition: all ease .5s;
}
.btn a:hover::before{
    left: 100%;
}
.about{
    justify-content: center;
    color: rgb(211, 211, 211);
    /* position: relative; */
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    background-color: #0e0e0e;
}
.about .sodhi{
    justify-content: space-between;
    display: flex;
    position: relative;
    max-width: 1000px;
}

#particles-js{
    height: 100vh;
}
.about .sodhi .propic{
    max-width: 300px;
    flex: 0 0 300px;
}
.about .sodhi .propic img{
    border-radius: 50%;
    border: 7px solid gray;
    max-width: 100%;
}
.about .sodhi .content{
    padding:50px 30px;
    margin-left: 20px;
    border-radius: 15px;
}
.about h1{
    font-size: 60px;
    font-family: 'Open Sans', sans-serif;
}
.about h3{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    font-weight: 400;
}
.about .downl{
    padding-top: 50px;
}
.about .downl a{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    background-color: rgb(7, 16, 39);
    border-radius: 3px;
    border: 1px solid orangered;
    border-bottom: 5px solid orangered;
    transition: .3s ease;
    /* box-shadow: 0 8px 8px 0 gray, 0 6px 10px 0 gray; */

}
.about .downl img{
    padding-left: 5px;
    height: 20px;
    width: auto;
}
.about .downl a i{
    color: orangered;
}
.about .downl a:hover{
    background-color: rgb(1, 3, 8);
    border-bottom: 5px solid rgb(255, 38, 0);
    transition: .3s ease;
}
@media (max-width:1000px){
    .sodhi{
        padding-top: 50px;
        flex-direction: column;
        align-items: center;
    }
    .title{
        width: 90%;
    }
}
.tehc{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: rgb(214, 214, 214);
    /* background-image: linear-gradient(#0e0e0e,#c2702d); */
}
.contentio{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-column-gap: 90px;
    grid-row-gap:50px;
}
.contentio h1{
    padding-top: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
}
.techimg{
    height: 70px;
    width: 70px;
    border-radius: 50%;

}
.tehc img{
    transition: 0.1s ease;
}
.tehc img:hover{
    transform: translateY(-7px);
    /* transform: scale(1.1); */
    transition: 0.1s ease;
}

.educards{
    /* background-color: #154155; */
    background-color: #c2702d;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.proj{
    font-family: 'Open Sans', sans-serif;
    background-color: #1e2027;
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding:50px 0;
}
.educards .educard{
    background-color: #030e13;
    border: 7px solid #030e13;
    width: 510px;
    /* box-shadow: rgba(253, 159, 51, 0.568) 0px 8px 24px; */
    border-radius: 5px;
    margin: 30px 30px;
    transition: 0.1s ease;
}
.proj .projcard{
    background-color: white;
    border: 3px solid white;
    width: 40%;
    margin: 30px 30px;
    border-radius: 2px;

}
.proj .projcard .propic{
    overflow: hidden;
}
.proj .projcard .propic img{
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) inset;
    transition: transform .75s ease;
}
.proj .projcard .propic img:hover{
    transform: scale(1.2);
}
.proj .projcard .prodetails img{
    float: right;
    height: 30px;
    width: auto;
    background-color: rgb(7, 16, 39);
    border-radius: 50%;
    padding: 3px;
}
.educards .educard img{
    border-radius: 2px 2px 0 0;
    width: 100%;
    max-height: 300px;
}
.proj .projcard .prodetails{
    padding: 20px;
}
.proj .projcard .stack{
    padding: 0 20px 20px 20px;
}
.proj .projcard .stack p{
    font-family: Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    background-color: rgb(7, 16, 39);
    color: orangered;
    border-radius: 13px;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
}
.educards .educard .edudetails{
    font-family: 'Open Sans', sans-serif;
    padding: 20px 20px;
}
.prodetails h2{
    color: black;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 5px;
}
.prodetails h3{
    color: rgb(90, 90, 90);
    font-family: Verdana, sans-serif;
    font-size: 16px;
    font-weight: 500;
}
.edudetails h2{
    /* color: #34ace0; */
    color: orangered;
    font-size: 20px;
    font-weight: 550;
}
.edudetails h3,.edudetails p{
    color: white;
    font-size: 16px;
    font-weight: 400;
}
.educards .educard .time{
    margin-top: -17px;
    text-align: center;
    justify-content: center;
}
.time p{
    color: white;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 150px;
    padding: 2px 5px;
    border-radius: 15px;
    background-color: rgb(160, 45, 4);
}
.educards .educard:hover{
    position: relative;
    transform: scale(1.05);
    transition: 0.2s ease;
}
@media (max-width: 1400px){
    .navbar{
        display: flex;
    }
    nav{
        display: none;
    }
    .educards{
        flex-direction: column;
        padding-top: 50px;
    }
    .proj{
        flex-direction: column;
        padding-top: 50px;
    }
    .proj .projcard{
        width: 70%;
    }
    .educards .educard{
        max-width: 90%;
    }
    .foot{
        flex-direction: column;
        align-items: center;
    }
    .foot .social{
        margin-left: 60px;
    }
    .skills{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .educards .educard:hover{
        transform: scale(1);
    }
    .tehc{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .intro .btn a{
        left: 45%;
    }
    .contentio{
        grid-template-columns: repeat(2,1fr);
    }
}
.skills{
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    padding-bottom: 70px;    
    background-color: rgb(214, 214, 214);
}
.skills h1{
    font-size: 36px;
    font-weight: 400;
    text-decoration: underline orangered;
    padding-top: 20px;
    padding-bottom: 20px;
}
.skills li{
    list-style: none;
    font-size: 24px;
    line-height: 2;
}
.skills li label{
    font-weight: 550;
    color: black;
}
.skills li{
    color: rgb(128, 79, 62);
}
.skills li li{
    margin-left: 19px;
    margin-right: 19px;
    list-style-type: disc;
}
.foot{
    display: flex;
    justify-content: center;
    min-height: 45vh;
    background-color: #191919;
    font-family: 'Open Sans', sans-serif;
    padding-top: 20px;
}
.arrow{
    padding-left: 48%;
    position: absolute;
    text-align: center;
    font-size: 45px;
    margin-top: -20px;
}
.arrow a{
    padding: 1px 2px;
    border: 3px solid #191919;
    border-radius: 50%;
    background-color: #191919;
    color: orangered;
}
.foot h1{
    color: rgb(0, 0, 0);
}
.foot li{
    list-style: none;
    line-height: 2;
}
.foot li a{
    text-decoration: none;
    color: #8a8cac;
    font-size: 20px;
    transition: .2s;
}
.foot .iccon{
    filter: grayscale(90%) invert(90%);
}
/* .foot li .iccon:hover{
} */
.foot li img{
    height: 20px;
    width: auto;
    
}
.foot li a:hover{
    /* color: orangered; */
    color: #c4c8fa;
    transition: .2s;
    /* filter: brightness(0.3) invert(90%) sepia() saturate(50%); */
}
.foot .social,.foot .eduplatforms{
    padding: 30px 40px;
}
footer{
    font-family: 'Press Start 2P', cursive;
    bottom: 5px;
    text-align: center;
    min-height: 5vh;
    background-color: #191919;
    color: #30bdbd;
}

.loading {
    z-index: 100000000000000;
    background-color: #030e13;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.loading svg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
#infinity-outline {
    fill: transparent;
    stroke-width: 4;
    stroke: orangered;
    stroke-dasharray: 3px, 300px;
    stroke-dashoffset: 0;
    animation: anim 1000ms linear infinite;
}
#infinity-bg {
    fill: transparent;
    stroke-width: 4;
    stroke: #424242;
    opacity: 0.2;
}
@keyframes anim {
    12.5% {
        stroke-dasharray: 42px, 300px;
        stroke-dashoffset: -33px;
   }
    43.75% {
        stroke-dasharray: 105px, 300px;
        stroke-dashoffset: -105px;
   }
    100% {
        stroke-dasharray: 3px, 300px;
        stroke-dashoffset: -297px;
   }
}

/* Experience Section Styles */
/* =========================== */
/* Experience Section Styles   */
/* =========================== */

.experience {
    padding: 80px 50px;
    background-color: #2a3b47; /* Dark Slate Blue/Grey background */
    min-height: 100vh;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.experience .section-title {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff; /* White title for dark background */
    margin-bottom: 50px;
    text-decoration: underline orangered; /* Underline consistent with other sections */
}

.experience-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background-color: #ffffff; /* White background for each item */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 25px;
    text-align: left;
    width: 100%;
    transition: transform 0.2s ease;
    position: relative; /* Positioning context for dates */
}

.experience-item:hover {
    transform: translateY(-5px);
}

.exp-logo {
    flex: 0 0 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 50%;
    overflow: hidden;
}

.exp-logo img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.exp-details {
    flex-grow: 1;
}

.exp-details h2 {
    color: orangered; /* Theme color */
    font-size: 22px;
    margin-bottom: 5px;
}

.exp-details h3 {
    color: #555;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.exp-details p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px; /* Default space below paragraphs */
}

/* Ensure last paragraph doesn't add too much space before dates */
.exp-details p:last-of-type {
    margin-bottom: 5px;
}

.exp-details .exp-dates {
    position: absolute; /* Position relative to .experience-item */
    top: 30px;         /* Align with top padding */
    right: 30px;        /* Align with right padding */
    font-weight: bold;
    /* color: #777; */
    font-size: 14px;
    background-color: #ffffff; /* Ensure dates have a background */
    padding: 2px 5px;
    border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .experience {
        padding: 60px 20px;
    }

    .experience-item {
        flex-direction: column; /* Stack logo and details */
        align-items: center;
        text-align: center;
        padding-top: 50px; /* Add space at top if dates overlap title */
    }

    .exp-logo {
        margin-bottom: 20px;
    }

     .exp-details .exp-dates {
        top: 20px; /* Adjust positioning for smaller screens */
        right: 20px;
    }
}

/* =========================== */
/* End of Experience Section Styles */
/* =========================== */