:root {
    --primary-color: #03DAC6; /* Default purple */
    --secondary-color: #BB86FC;
}

/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #FFFFFF;
    scroll-padding-top: 20px; /* Adjust this value to the height of your navbar */
    scroll-behavior: smooth;
    cursor: url('cursor-pointer.png'), auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: bold;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
}

h3, h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 5px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-top: 20px;
}

/* Navbar */
#navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10;
    transition: background-color 0.3s ease;
    text-align: center; /* Center the text on desktop */
}

#navbar .container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the container content */
}

.profile-pic {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    object-fit: cover;
    margin-right: 20px;
}

#navbar ul {
    display: block; /* Make ul block-level to take full width */
    margin: 0;
    padding: 0;
}

#navbar ul li {
    display: inline-block; /* Display list items inline */
    margin: 0 10px;
}

#navbar ul li a {
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#navbar ul li a:hover {
    background-color: #1F1F1F;
}

/* Hide the navbar on mobile devices */
@media (max-width: 768px) {
    #navbar {
        display: none; /* Hide navbar on mobile */
    }
}

/* Theme button styling */
.theme-button {
    background-color: var(--secondary-color);
    color: #121212;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.theme-button:hover {
    background-color: var(--secondary-color);
}

/* Profile Summary Section */
.profile-summary {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-pic-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    object-fit: cover;
    margin-right: 20px;
}

.profile-text h1 {
    margin: 0;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.profile-text h2 {
    margin: 5px 0 0;
    font-size: 1.5rem;
    color: #FFFFFF;
}

/* Responsive Design for Profile Summary */
@media (max-width: 768px) {
    .profile-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-pic-large {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .profile-text h1,
    .profile-text h2 {
        text-align: center;
    }
}


/* Experience Section */
.job {
    margin-bottom: 40px;
}

.experience-list {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--secondary-color);
    list-style: disc;
}

.experience-list li {
    margin-bottom: 10px;
}

/* Skills Tag List */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--secondary-color);
    color: #121212;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 1rem;
    margin-bottom: 10px;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary-color);
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
    background-color: #1F1F1F;
    color: #888888;
    font-size: 0.9rem;
}

.footer p {
    margin: 0;
}

/* Cursor Animations */
.cursor-animation {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    /* Navbar */
    #navbar .container {
        flex-wrap: wrap;
    }

    .profile-pic {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    #navLinks {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(18, 18, 18, 0.9);
    }

    #navLinks li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        background-color: transparent;
        border: none;
        color: #FFFFFF;
        font-size: 30px;
        cursor: pointer;
    }

    .menu-toggle.active + #navLinks {
        display: flex;
    }

    #navbar ul {
        flex-direction: column;
        align-items: flex-start;
    }

    #navbar ul li {
        margin: 10px 0;
    }

    .section {
        padding: 40px 0;
    }
}
