body {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    color: white;
    text-align: center;
    background-color: #0a0f14;
    overflow-y: scroll;
    height: 200vh;
    transition: filter 0.5s ease, background-color 0.5s ease;
}

body::-webkit-scrollbar {
    display: none;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: filter 0.5s ease;
}

.full-screen-bg {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding-top: 0;
    transition: filter 0.5s ease;
}

body.blur #particles-js,
body.blur .full-screen-bg {
    filter: blur(10px);
}

.gradient-text {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    letter-spacing: 0.1em;
    position: relative;
}

.heading {
    font-size: 6rem;
    font-weight: 700;
    transform: rotate(-1deg);
    animation: fadeInUp 1.2s ease-out both;
    margin: 0;
    position: relative;
}

.heading::after {
    content: '|';
    position: absolute;
    right: -0.5em;
    top: 0;
    font-size: 6rem;
    animation: blink 1s step-start infinite;
    opacity: 0;
}

.heading:hover::after {
    opacity: 1;
}

.subtext {
    font-size: 2rem;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    animation: fadeInUp 1.5s ease-in-out 0.5s both;
    color: rgba(255, 255, 255, 0.85);
}

.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeIn 2s ease-in-out 2s both;
}

.scroll-indicator div {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    margin: 0 auto;
    animation: bounce 1.5s infinite;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-left: -20px;
    background-color: rgba(10, 15, 20, 0.8);
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Increased z-index to ensure it's on top */
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s, transform 0.3s;
}

.navbar a:hover {
    text-decoration: underline;
    color: #00d2ff;
    transform: scale(1.1);
}

.navbar-links.active {
    display: flex;
}


.hamburger {
    top: 15px;
    left: 40px; /* Adjusted left position to fit better */
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    position: absolute;
}

.navbar-links {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 15, 20, 0.9);
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        z-index: 999; /* Ensure the dropdown is below the navbar but above other content */
    }

    .navbar-links a {
        margin: 10px 0;
    }

    .navbar-links.active {
        display: flex;
    }
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, max(1fr));
    gap: 20px;
    padding: 0 5%;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

@media (min-width: 1000px) {
    .edu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.glassmorphic-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px;
    margin: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 10;
}

.glassmorphic-card h2 {
    position: relative;
    display: inline-block;
    margin: 0;
}

/* Gradient Underline for h2 */
.glassmorphic-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    /* Adjust the height as needed */
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    /* Gradient colors */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

/* Apply underline effect on hover over the parent card */
.glassmorphic-card:hover h2::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.glassmorphic-card h1 {
    position: relative;
    display: inline-block;
    margin: 0;
}

/* Gradient Underline for h2 */
.glassmorphic-card h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    /* Adjust the height as needed */
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    /* Gradient colors */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

/* Apply underline effect on hover over the parent card */
.glassmorphic-card:hover h1::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


.glassmorphic-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #14617d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.skills-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.skill {
    background: #14617d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: capitalize;
    transition: transform 0.3s ease;
}

.skill:hover {
    background: #3a7bd5;
    transform: scale(1.05);
}

.glassmorphic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.glassmorphic-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.glassmorphic-card:hover .overlay {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.glassmorphic-card:hover .project-image {
    transform: scale(1.05);
    opacity: 0.9;
}

.glassmorphic-card h2 {
    font-size: 1.7rem;
    margin: 0;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.glassmorphic-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.glassmorphic-card:hover p {
    color: #e0e0e0;
}

.project-link {
    margin-top: 15px;
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #458ea8, #033c4f);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    font-weight: bold;
}

.project-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-right: 10px;
    /* Add margin if you want space between multiple links */
}

.project-link i {
    margin-right: 8px;
    /* Increase this value for more gap between the icon and text */
}


.project-link:hover {
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* General styles for the line separator */
.line {
    width: calc(100%);
    /* Adjusted to account for left and right padding */
    height: 1px;
    background-color: #ccc;
    /* You can adjust the color to match your design */
    margin-top: 10px;
    box-sizing: border-box;
    /* Ensures padding is included in the width */
    border-radius: 20px;
}


/* Styles for the subsubheading */
h2.gradient-text.sub {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 24px;
    color: #fff;
    /* Adjust color to fit your design */
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    /* Optional: add some text shadow for better readability */
}

/* Experience Section Styles */
.sub-container {
    margin: 20px auto;
    max-width: 1200px;
    /* Adjust based on your design */
    padding: 20px;
    position: relative;
}

.experience-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.vertical-line {
    width: 2px;
    background-color: #ccc;
    /* Adjust color as needed */
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: -1;
}

.experience-content {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    /* Space between rows */
}

.experience-content.left {
    justify-content: flex-start;
}

.experience-content.right {
    justify-content: flex-end;
}

.experience-card {
    background: rgba(255, 255, 255, 0.2);
    /* Glassmorphic effect */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    /* Adds blur effect */
    margin: 0 10px;
    /* Space between cards and edges */
    width: calc(50% - 20px);
    /* Adjust width to fit within flex container */
    box-sizing: border-box;
    /* Ensures padding is included in the width */
}

.experience-card h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.experience-card h3 {
    font-size: 1em;
    color: #6fbef1;
    /* Example color, adjust as needed */
    margin: 5px 0;
    margin-bottom: 20px;
}

.experience-card ul {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    line-height: 1.5;
}

/* Add responsiveness if needed */
@media (max-width: 768px) {
    .experience-card {
        width: 100%;
        /* Stack cards on small screens */
    }
}

/* Add styles for experience section */
.experience-wrapper {
    display: flex;
    flex-direction: column;
}

.experience-content {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.experience-content .badge {
    width: 80px;
    /* Adjust the width as needed */
    text-align: center;
    font-weight: bold;
    color: #fff;
    /* Badge color */
    background-color: #333;
    /* Badge background color */
    border-radius: 5px;
    padding: 10px;
    margin-right: 20px;
}

.experience-content .glassmorphic-card {
    flex: 1;
}

.vertical-line {
    width: 2px;
    background-color: rgba(100, 100, 100, 1);
    /* Adjust color as needed */
    height: 100%;
    /* Makes the line stretch the full height of the section */
    position: absolute;
    left: 70px;
    top: 0;
    z-index: 0;
    border-radius: 100px;
}

.external-link {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.external-link i {
    margin-right: 8px;
}

.external-link:hover {
    color: #6facf1;
    /* Example hover color */
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, max(1fr));
    gap: 20px;
    padding: 0 5%;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.glassmorphic-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px;
    margin: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 10;
    cursor: pointer;
    user-select: none;
}

.glassmorphic-card .ranking {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.glassmorphic-card .ranking i {
    font-size: 2rem;
    margin-right: 20px;
    color: #84b2dd;
}

.glassmorphic-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.glassmorphic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.glassmorphic-card:hover p {
    color: #e0e0e0;
}

.awards-skills-tab {
    padding-top: 5px;
    margin-bottom: 15px;
}

/* Ranking Text Styling */
.ranking-text {
    position: relative;
    display: inline-block;
    margin: 0;
}

/* Gradient Underline for ranking-text */
.ranking-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    /* Adjust the height as needed */
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    /* Gradient colors */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

/* Apply underline effect on hover over the parent card */
.glassmorphic-card:hover .ranking-text::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#student {
    margin: auto;
}

#school {
    margin-top: 10px;
}

.edu-skill {
    background: #14617d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.edu-skill:hover {
    background: #3a7bd5;
    transform: scale(1.05);
}

.gpa-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, max(230px));
    /* Set min and max column sizes */
    gap: 20px;
    /* Space between grid items */
}

.sat-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, max(160px));
    /* Set min and max column sizes */
    gap: 20px;
    /* Space between grid items */
}

.gpa-wrapper {
    background: linear-gradient(to right, rgba(0, 210, 255, 0.3), rgba(58, 123, 213, 0.3));
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-color: #7c7e81;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.gpa-label {
    margin-left: 20px;
    font-size: 1em;
    font-weight: 600;
    margin-right: 10px;
}

.gpa-value {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
}

#spacer {
    height: 20px;
    width: 20px;
}

.top-box {
    grid-area: top-box;
}

.right-box {
    grid-area: right-box;
}

.bottom-box {
    grid-area: bottom-box;
}

.edu-content {
    height: initial;
}

.edu-content.left {
    justify-content: flex-start;
}

.edu-content.right {
    justify-content: flex-end;
}

.edu-content {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.edu-content .badge {
    width: 80px;
    /* Adjust the width as needed */
    text-align: center;
    font-weight: bold;
    color: #fff;
    /* Badge color */
    background-color: #333;
    /* Badge background color */
    border-radius: 5px;
    padding: 10px;
    margin-right: 20px;
}

.edu-content .glassmorphic-card {
    flex: 1;
}

.second {
    margin-left: 20px;
}

#spacer10 {
    height: 10px;
}

.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    /* Space between items */
}

.experience-item p.gpa {
    margin-right: 20px;
    /* Space between paragraph and skills tab */
}

.edu-skills-tab {
    display: flex;
    gap: 5px;
    /* Space between skill items */
    margin-left: -10px;
}