body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background: #000;
    color: white;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #1e90ff, #104e8b);
    border-radius: 20px;
    padding: 10px 20px;
    z-index: 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-start;
    max-width: 90%;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #1e90ff #333;
}

.navbar::-webkit-scrollbar {
    height: 8px;
}

.navbar::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.navbar::-webkit-scrollbar-thumb {
    background-color: #1e90ff;
    border-radius: 10px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navbar li {
    display: inline;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.btn-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-github {
    background-color: #333;
    color: white;
}

.btn:hover {
    opacity: 0.8;
}

.btn img {
    vertical-align: middle;
    margin-right: 8px;
    width: 20px; /* Adjust as needed */
    height: 20px; /* Adjust as needed */
}

.content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin: 100px auto 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow-y: auto;
    height: calc(100% - 100px);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #1e90ff rgba(192, 192, 192, 0.1);
}

section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    box-shadow: 0 4px 8px rgba(30, 144, 255, 0.3);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-picture {
    width: 150px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 3px solid #1e90ff;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

.intro-section {
    margin-bottom: 40px;
    text-align: center;
}

h1 {
    margin: 0 0 20px;
    font-size: 2.5em;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h2 {
    margin: 0 0 15px;
    font-size: 1.8em;
    color: #1e90ff;
    padding-bottom: 5px;
    border-bottom: 2px solid #1e90ff;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

section h2 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e90ff;
}

.education-section p {
    margin: 0 0 10px;
    padding-left: 0;
    text-indent: 0;
    line-height: 1.6;
}

.education-section .degree {
    font-weight: bold;
    font-size: 1.2em;
}

.education-section .institution {
    font-size: 1.1em;
    margin: 5px 0;
}

.education-section .details {
    font-style: italic;
}

.professional-experience-section p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.professional-experience-section .job-title {
    font-weight: bold;
    font-size: 1.2em;
    display: inline;
}

.professional-experience-section .company {
    font-size: 1.1em;
    margin-left: 10px;
    display: inline;
}

.professional-experience-section .location {
    font-style: italic;
    display: inline;
}

.professional-experience-section .date {
    font-style: italic;
    display: inline;
    margin-left: 10px;
}

.professional-experience-section .details {
    margin-left: 20px;
    margin-top: 5px;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.content::-webkit-scrollbar {
    width: 12px;
}

.content::-webkit-scrollbar-track {
    background: rgba(192, 192, 192, 0.1);
    border-radius: 10px;
}

.content::-webkit-scrollbar-thumb {
    background-color: #1e90ff;
    border-radius: 10px;
    border: 3px solid rgba(192, 192, 192, 0.1);
}

.content::-webkit-scrollbar-thumb:hover {
    background-color: #104e8b;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.projects-section .project,
.additional-projects-section .project {
    margin-bottom: 20px;
}

.projects-section .project-title,
.additional-projects-section .project-title {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.card-container {
    display: flex;
    justify-content: space-between;
}

.flip-container {
    perspective: 1000px;
    margin: 20px; /* Add margin to create space between cards */
}

.flip-card {
    position: relative;
    width: 150px;
    height: 200px;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #111;
    color: white;
}

.flip-card-back {
    background-color: #111;
    color: white;
    transform: rotateY(180deg);
}

/* New styles for glowing border */
.glow-card {
    position: relative;
    border-radius: 10px;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #42a5f5, #478ed1, #0ff, #478ed1, #42a5f5);
    border-radius: inherit;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.7;
    animation: glowing 20s linear infinite;
}

@keyframes glowing {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid orange;
    letter-spacing: .15em;
    animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/* Styles for the 3D model container */
.model-section {
    background: #111;
    color: white;
    padding: 20px;
    text-align: center;
}

#model-container {
    width: 100%;
    height: 500px;
    background-color: #000;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

