/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    z-index: 1000;
}

header.sticky {
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

header .container {
    display: flex;
    justify-content: center;
}

header ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header li a {
    color: #00ffff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
}

header li a:hover {
    background-color: rgba(0, 255, 255, 0.2);
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#star-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #00ffff;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3em;
    margin: 20px 0;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    background-color: #00ffff;
    color: #000;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #008b8b;
}

#about, #projects, #contact {
    padding: 80px 20px;
    text-align: center;
}

#about h2, #projects h2, #contact h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #00ffff;
}

#about p, #contact p {
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.6em;
}

#projects-container {
    max-height: 400px; /* Adjust the height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* Neon glow */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #00ffff rgba(0, 0, 0, 0.6); /* Scrollbar color for Firefox */
}

#projects-container .project {
    color: #ffffff; /* White text */
    margin-bottom: 20px;
}

#projects-container .project h3 {
    margin-top: 0;
}

#projects-container .project-links a {
    color: #00ffff; /* Neon color for project links */
    margin-right: 10px;
}

#projects-container .project-links a:hover {
    color: #ffffff; /* White color on hover */
}

/* Scrollbar styling for WebKit browsers */
#projects-container::-webkit-scrollbar {
    width: 8px;
}

#projects-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

#projects-container::-webkit-scrollbar-thumb {
    background-color: #00ffff; /* Neon color */
    border-radius: 10px;
}

.contact .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form, .contact-info {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 20px;
    color: #00ffff;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #00ffff;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 5px;
}

.contact-form input[type="submit"] {
    background-color: #00ffff;
    color: #000;
    font-weight: bold;
}

.contact-form input[type="submit"]:hover {
    background-color: #008b8b;
}

.contact-info a {
    color: #00ffff;
}

.contact-info .contact-links a {
    margin-right: 10px;
}

.contact-info .contact-links a:hover {
    color: #fff;
}

footer {
    padding: 20px;
    background-color: #000;
    text-align: center;
}

footer p {
    color: #00ffff;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #00ffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out;
}

.force-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.force-field-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid #00ffff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}
