html , body {
    margin: 0 ;
    font-family: Arial, Helvetica, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, #1e3c72 ,2a5298 );
    animation: gradientBackground 5s infinite alternate;
    color: white;
    position: relative;
}

/*Particle background animation*/
@keyframes gradientBackground {
    0% { background: #0B0A0A; }
    50% { background: #0B0A0A; }
    100% { background: #0B0A0A ; }
}
#particles-js{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0 ;
    left: 0;
    z-index: 0;
}


/*Nav Bar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center ;
    padding: 10px 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0B0A0A;
    z-index: 10;

}
.navbar h2{
    padding: 0px;
    margin: 0px;
    font-size: 30px;
    font-family: 'Courier New', Courier, monospace;
    color: #FFBA0A;
    text-align: left;
    font-weight: bold;
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
    padding-left: 20px;
}
.navbar ul{
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
}
.navbar li{
    margin-left: 25px;
}
.navbar a{
    text-decoration: none;
    color: #FFBA0A;
    font-size: 25px;
    padding: 10px;
    border-radius: 3px;
    transition: 0.3s;
}
.navbar a:hover {
    background-color: rgba(255, 204, 112, 0.3); 
}
.navbar img {
    height: 65px;
    width: auto;
}


/*Main Header */
.mainHeader{
    text-align: center ;
    padding-top: 120px;
    position: relative;
    z-index: 1;
}



/*Main Body*/
.mainContent {
    margin-top: 150px; 
}



/*About me Div*/
.divAM{
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 0;
}
.aboutMe h2{
    text-align: left;
    font-size: 30px;
    color: #FFBA0A;
}
.aboutMe p{
    text-align: left;
    font-size: 20px;
    line-height: 1.6;
    margin: 20px 0;
}
#img1{
    float: right;
    margin-left: 10px;
}
.amongUsContainer {
    position: absolute;
    left: 10%;
    transform: translate(-40%, -40%);
}
.amongUsContainer2 {
    position: absolute;
    right: 10%;
    top: 78%;
    transform: translate(-40%, -40%);
}
#amongUsCharacter {
    width: 75px;
    animation: floatAnimation 3s ease-in-out infinite;
}
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}
/*END About me Div*/





/*Education Div*/
.education {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}
.education h2 {
    color: #FFBA0A;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.timeline {
    position: relative;
    padding-left: 20px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #888;
}
.edu-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
.dot {
    width: 12px;
    height: 12px;
    background: #FFBA0A; 
    border-radius: 50%;
    position: absolute;
    left: 2px;
}
.edu-content {
    background: rgba(255, 255, 255, 0.1); 
    padding: 10px 15px;
    border-radius: 8px;
    margin-left: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}
.edu-content h3 {
    font-size: 20px;
    font-weight: bold;
}
.edu-content p {
    font-size: 15px;
    margin: 2px 0;
}
.education img {
    height: 40px;
    width: auto;
    margin-left: 30px;
}
/*END education Div*/


/*work Div*/
.work {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}
.work h2 {
    color: #FFBA0A;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.timeline {
    position: relative;
    padding-left: 20px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #888; 
}
.work-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
.dot {
    width: 12px;
    height: 12px;
    background: #FFBA0A; 
    border-radius: 50%;
    position: absolute;
    left: 2px;
}
.work-content {
    background: rgba(255, 255, 255, 0.1); 
    padding: 10px 15px;
    border-radius: 8px;
    margin-left: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}
.work-content h3 {
    font-size: 20px;
    font-weight: bold;
}
.work-content p {
    font-size: 15px;
    margin: 2px 0;
}
.work img {
    height: 35px;
    width: auto;
    margin-left: 30px;
}
/*END work Div*/



/*Languages Div*/
.divLanguages {
    justify-content: center ;
    align-items: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    margin: 10px ;
    backdrop-filter: blur(12px);
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.2);
    position: relative;
}
.languages h2 {
    text-align: center;
    font-size: 28px;
    color: #FFBA0A;
    margin-bottom: 10px;
}
.languages ul {
    list-style: none;
    padding: 0;
}
.languages li {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
    color: #fff;
}
/*END Languages Div*/





/*Contact me Div*/
.divCM{
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 0;
}
.contact h2 {
    padding: 0px;
    text-align: center;
    font-size: 30px;
    color: #FFBA0A;
}
.contact a {
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #63b3f5;
}
.contact p {
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
}
.contact a:hover {
    text-decoration: underline;
    background-color: aliceblue;
}
.divCM #img2{
    float: left;
    margin-left: 10px;
}
.icons{
    text-align: center;
}
.icons a{
    text-decoration: none;
    margin-right: 20px;
}

#contact-form {
    text-align: center;
    margin-top: 5px;
}
#contact-form input,
#contact-form textarea {
    width: 70%; 
    max-width: 300px; 
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin: 15px auto;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}
#contact-form textarea {
    height: 100px; 
    resize: vertical;
}
#contact-form button{
    padding: 10px 15px;
}
#contact-form button:hover {
    background-color: #ff9900;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/*END Contact me Div*/

/*END main body of Home page*/



/*Main body of Projects page*/
/*Skills Div*/
.divSkills {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    z-index: 0;
}
.skills h2 {
    font-size: 30px;
    color: #FFBA0A;
    margin-bottom: 20px;
}
.skill-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}
.skill-card:hover {
    transform: scale(1.05);
    background: #ffffff79;
}
.skill-card img {
    height: 50px;
    width: auto;
    margin-left: 30px;
}
.skill-card #javaimg {
    height: 60px;
    width: auto;
    margin-left: 0px;
}
.skill-card p {
    flex: 1;
    font-size: 20px;
    color: white;
}
.skill-level {
    font-size: 15px;
    color: #FFBA0A;
    font-weight: bold;
}
/*END skills Div*/


/*Tools & Frameworks*/
.tools-frameworks {
    text-align: center;
    margin-top: 20px;
}
.tools-frameworks h2{
    font-size: 30px;
    color: #FFBA0A;
}
.tool-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.tool {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    z-index: 1;
}
.tool img {
    width: 27px;
    height: auto;
    margin-right: 8px;
}
.tool:hover{
    transform: scale(1.05);
    background: #ffffff79;
}
/*END Tools & Frameworks*/


/*Projects Display*/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, 1fr); 
    gap: 20px; 
    max-width: 800px; 
    margin: auto;
    padding: 20px;
}
.project {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}
.projects-section h2{
    color: #FFBA0A;
    text-align: center;
    font-size: 30px;
}
.project h2 {
    color: #FFBA0A;
    margin-bottom: 10px;
}
.project h3 {
    color: #FFBA0A;
    margin-bottom: 10px;
}
.project p {
    color: white;
    font-size: 16px;
}
.project:hover {
    transform: scale(1.05);
    background: #ffffff79;
}
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #FFBA0A;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn:hover {
    background: #ffa500;
}
/*END Projects Display*/



/*END projects main body*/





/* Gallery Section */
.galleryTitle h2{
    text-align: center;
    font-size: 30px;
    color: #FFBA0A;
}
.gallery {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.gallery-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}
.gallery-description {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
}
.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.image-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.image-slider img {
    max-width: 100%;
    display: none;
    
}
.image-slider img.active {
    display: block;
}
button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00000080;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
}
button.prev {
    left: 10px;
}
button.next {
    right: 10px;
}
button.prev:hover,
button.next:hover {
    background-color: #FFBA0A;
}

/*END Gallery Style*/



/*Footer*/
.mainFooter {
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 10px;
    position: relative;
    z-index: 0;
}
/* END Footer*/

@media screen and (max-width:600px) {
    aside,section, article{
        width: 100%;
    }
    .left-side{
        margin-top: -10px;
    }
    .divAM::before {
        filter: blur(4px);
      }
}
@media screen and (max-width: 700px) {
    
        .map-wrap{
            float: none;
            width: 100%;
            height: 400px;
            margin: 0;
        }
        .info-map{
            display: none;
        }
        .left-side{
            width: 74%;
            margin-top: -15px;
        }
        nav ul {
            flex-direction: column;
            
        }
    
        .skills-list {
            flex-direction: column;
            align-items: center;
        }
    
        .gallery-item img {
            width: 100%;
        }

        .projects-grid {
            grid-template-columns: 1fr; 
        }
        body {
            font-size: 14px; 
        }
}

