body {
    background: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'raleway', sans-serif;
    color: #080516;
    overflow-x: hidden;
}







/*--------------------------------------------------------------
# HAMBURGER MENU
--------------------------------------------------------------*/
.hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    cursor: pointer;
    z-index: 1001;
    background-color: #080516;
    width: 30px;
    height: 30px;
    border-radius: 60%;
    padding: 1px;
    transition: all 0.3s ease;
}


.hamburger i {
    padding-left: 5px;
    padding-top: 2px;
    color: white;
    display: flex;
    transition: transform 0.3s ease;
}


body.sidebar-open .hamburger i {
    position: relative;
    width: 20px;
    height: 20px;
}

body.sidebar-open .hamburger i::before,
body.sidebar-open .hamburger i::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}


body.sidebar-open .hamburger i::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.sidebar-open .hamburger i::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}




/*--------------------------------------------------------------
# Sidebar Styles
--------------------------------------------------------------*/
#sidebar {
    position: fixed;
    top: 0;
    left: -250px; 
    width: 250px;
    min-height: 100vh;
    background-color: #080516;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px 10px;
    overflow-y: auto;
    color: white;
    visibility: hidden;
}


#sidebar.active {
    left: 0;  
    visibility: visible;  
}

#sidebar .sidebar-profile img {
    width: 200px;
    height: 200px;
    border: 4px solid #2c2f3f;
    border-radius: 50%;
    object-fit: cover;
}

#sidebar .profile h1 {
    font-size: 1.5rem;
    margin: 15px 0;
    padding: 0;
    font-weight: 600;
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: white;
}

#sidebar .navbar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

#sidebar .nav-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 12px 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#sidebar .nav-link i {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin: 0;
}

#sidebar .nav-link:hover {
    color: #3a3646;
    transform: scale(1.05);
}

body.sidebar-open {
    overflow: hidden;
}


@media (max-width: 1199px) {
    #sidebar {
        left: -250px; 
        visibility: hidden;  
    }

    #sidebar.active {
        left: 0; 
        visibility: visible; 
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger i {
        font-size: 1.5rem;
        color: white;
    }

    #sidebar .navbar-container {
        padding-top: 20px;
    }

    .container,
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    #sidebar .nav-link {
        font-size: 1rem;
    }

    #sidebar .sidebar-profile img {
        width: 100px;
        height: 100px;
    }

    #main {
        margin-left: 0;
    }

    body.sidebar-open #main {
        margin-left: 250px; 
    }
}

@media (min-width: 1200px) {
    #sidebar {
        left: 0;
        visibility: visible; 
    }

    .hamburger {
        display: none; 
    }

    #sidebar .sidebar-profile img {
        width: 200px;
        height: 200px;
    }

    #sidebar .nav-link {
        font-size: 1.2rem;
    }

    #main {
        margin-left: 250px;
    }
}




/*--------------------------------------------------------------
# Introduction Section
--------------------------------------------------------------*/
.intro {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 5vw;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 1s ease-out;
    overflow: hidden;
    margin-left: clamp(0px, 5vw, 150px); 
}

/* Particles container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #080516;
}

.intro.hidden {
    opacity: 0;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    gap: 4vw;
    box-sizing: border-box; 
}

.typed {
    display: inline-block;
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: bold;
    color: #fff;
    border-right: 3px solid #fff;
}

.intro-text {
    font-size: clamp(2rem, 3vw, 3rem);
    flex: 1;
    text-align: left;
    margin-right: 5vw;
    z-index: 1;
    position: relative; 
}

.intro-image img {
    width: 15rem;
    height: 15rem;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    z-index: 1;
}

@media (max-width: 768px) {
    .intro {
        margin-left: 0; 
        padding: 5% 5% 5% 5%;
    }

    .intro-content {
        flex-direction: column; 
        gap: 2vw; 
        width: 100%;
        padding-left: 0; 
    }

    .intro-text {
        margin-right: 0; 
        text-align: center; 
        position: relative; 
    }

    .intro-image {
        margin-top: 2vh; 
    }
}
@media (max-width: 480px) {
    .intro {
        padding: 8% 5%;
        margin-left: 0;
    }
    .intro-content {
        gap: 4vw;
        flex-direction: column;
    }
    .intro-text {
        font-size: clamp(1.2rem, 4vw, 2.5rem);
        text-align: center;
        margin-right: 0;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 5% 0 5% 0;
    margin-top: 10vh;
    box-sizing: border-box;
    opacity: 1;
    transition: padding-left 0.3s ease;
    overflow-x: hidden;
    margin-left: clamp(0px, 20vw, 300px) !important;

}

.about-header {
    font-size: clamp(1.5rem, 5vw, 1.5rem);
    margin-bottom: 5vh;
    color: #080516;
    text-align: left;
    width: 100%;
    text-decoration: underline;
}

.about-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5vw;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.about-info li {
    padding-bottom: 1vh;
}

.about-text {
    flex: 1;
    font-size: clamp(1rem, 3vw, 1.5rem);
    text-align: left;
    margin-right: 5vw;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-text.visible {
    opacity: 1;
}

.about h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about h1.visible {
    opacity: 1;
}

.about-info {
    flex: 1;
    font-size: clamp(1rem, 3vw, 1.5rem);
    text-align: left;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 2vh 2vw;
    overflow-x: hidden;
}

.about-info.visible {
    opacity: 1;
}

.about-info h2 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 2vh;
}

.about-info ul {
    list-style-type: none;
    padding: 0;
}

.about-info li {
    margin: 1vh 0;
}

.socials {
    display: flex;
    gap: 2vw;
}

.socials img {
    width: clamp(1.5rem, 5vw, 2rem);
    height: clamp(1.5rem, 5vw, 2rem);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.socials img:hover {
    transform: scale(1.1);
}

.social-header {
    padding-top: 2vh;
}

.socials li {
    list-style-type: none;
    padding: 0;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 5vw;
        padding-left: 0;
    }

    .about-text {
        margin-right: 0;
    }

    .about-info {
        padding-left: 0;
        padding-right: 0;
    }
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 5% 0 5% 0;
    margin-top: 10vh;
    box-sizing: border-box;
    opacity: 1;
    transition: padding-left 0.3s ease;
    overflow-x: hidden;
    margin-left: clamp(0px, 20vw, 300px);
}

.projects-header {
    font-size: clamp(1.5rem, 5vw, 1.5rem);
    margin-bottom: 5vh;
    color: #080516;
    text-align: left;
    width: 100%;
    text-decoration: underline;
}

.project-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5vw;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.project-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    height: auto; 
    min-height: 320px; 
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
}

.project-card .project-link {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px; 
    max-width: 200px; 
    width: 100%; 
    box-sizing: border-box;
    text-align: center; 
    margin: 0 auto; 
}


.project-card .project-link:hover {
    background-color: #0056b3;
}



@media (max-width: 768px) {
    .projects {
        margin-left: 0; 
        padding-left: 0;
    }

    .projects-header {
        text-align: center;
        margin-left: 0; 
    }

    .project-container {
        flex-direction: column;
        gap: 5vw;
    }

    .project-cards-wrapper {
        width: 100%;
        justify-content: center; 
        padding: 0 10px;
    }

    .project-card {
        margin-bottom: 20px;
        width: 100%; 
        max-width: 50%; 
        min-height: 350px; 
    }

    .project-card .project-link {
        padding: 14px 24px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .projects-header {
        margin-left: 0; 
    }
}








/*--------------------------------------------------------------
# Stack Section
--------------------------------------------------------------*/
.stack {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    margin-top: clamp(50px, 10vw, 80px);
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 1s ease-out;
    margin-left: clamp(0px, 20vw, 280px) !important; 
}

.stack.visible {
    opacity: 1;
}

.stack-header {
    font-size: clamp(1.5rem, 5vw, 1.5rem);
    margin-bottom: 5vh;
    color: #080516;
    text-align: left;
    width: 100%;
    text-decoration: underline;
}

.stack-category-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.stack-category {
    width: 100%;
    text-align: left;
    padding-left: 0;
}

.stack-category h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-bottom: 20px;
    text-align: left;
}

.stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 20px;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
}

.stack-card {
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    width: clamp(80px, 15vw, 100px);
}

.stack-card:hover {
    transform: scale(1.05);
}

.stack-card i {
    font-size: clamp(30px, 5vw, 40px);
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
    display: block;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.stack-card h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-top: 5px;
}

.stars {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: gold;
}



/* Icon Colors */
.fa-html5 { color: #e34c26; }
.fa-css3-alt { color: #2965f1; }
.fa-js { color: #f7df1e; }
.fa-python { color: #3776ab; }
.fa-angular { color: #dd0031; }
.fa-java { color: #f8981d; }
.fa-c { color: #0078d4; }
.fa-react { color: #61dafb; }
.fa-github { color: #24292f; }
.fa-git-alt { color: #f14e32; }
.fa-node { color: #8cc84b; }
.fa-database { color: #0066cc; }
.fa-leaf { color: #4DB33D; }
.fa-cloud { color: #00A9E0; }

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 1s ease-out;
    padding: 2vw;
    max-width: 90%;
    margin: auto;
    text-align: left;
    margin-left: clamp(0px, 20vw, 280px) !important;
}

.resume.visible {
    opacity: 1;
}

.resume.hidden {
    opacity: 0;
}

.resume .resume-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 2vh 0;
    color: #080516;
    text-align: left;
}

.section-title {
    text-align: left;
    color: #080516;
    font-size: 1.5rem;
    margin-bottom: 2vh;
}

.resume .resume-item {
    padding: 2vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 80%;
    margin-bottom: 2vh;
    text-align: left;
}

.resume .resume-item h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: #080516;
    margin-bottom: 0.5rem;
}

.resume .resume-item h5 {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    padding: 0.5rem 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background-color: #ffffff;
    border-radius: 4px;
}

.resume .resume-item ul {
    padding-left: 1.5rem;
    text-align: left;
    margin-top: 0.5rem;
}

.resume .resume-item ul li {
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    margin-bottom: 0.5rem;
}

.resume .resume-item:last-child {
    padding-bottom: 0;
}

.resume .resume-item {
    padding: 2vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    margin-bottom: 2vh;
    text-align: left;
}



@media (max-width: 480px) {
    .about,
    .stack,
    .resume {
        margin-left: 0;
        padding: 2vw;
    }

    .about-content {
        padding-left: 0;
        gap: 3vw;
    }

    .project-card {
        width: clamp(200px, 40vw, 300px);
        height: clamp(300px, 55vw, 400px);
    }
}

@media (min-width: 1200px) {
    #main,
    .intro,
    .about,
    .stack,
    .resume {
        margin-left: 250px; 
    }
}


@media (max-width: 768px) {
    .about, .stack, .resume {
        margin-left: 20px !important;
        padding: 2vw; 
    }
}


@media (max-width: 1024px) {
    .about, .stack, .resume {
        margin-left: 20px !important;
    }
}


@media (max-width: 414px) {
    .about, .stack, .resume {
        margin-left: 10px !important; 
    }
}


@media (max-width: 1230px) {
    .about, .stack, .resume {
        margin-left: 10vw !important;
    }
}


@media (min-width: 1230px) {
    .about, .stack, .resume {
        margin-left: 280px !important; 
    }
}


html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}


