/* =========================
   Variables and Base Styles
   ========================= */

:root {
    /* Dark Theme (Default) */
    --bg-primary: rgba(10, 10, 25, 0.85); /* Semi-transparent for star effect */
    --bg-secondary: rgba(20, 20, 35, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #0d6efd;
    --accent-hover: #0b5ed7;
    --gradient-start: #0d6efd;
    --gradient-end: #6610f2;
    --card-bg: rgba(37, 37, 55, 0.85);
    --border-color: #333333;
    --section-padding: 100px 0;
    --transition: all 0.3s ease-in-out;
    
    /* Star Colors */
    --star-color: rgba(255, 255, 255, 0.8);
    --star-color-2: rgba(255, 255, 255, 0.6);
    --nebula-color-1: rgba(103, 65, 217, 0.2);
    --nebula-color-2: rgba(229, 80, 255, 0.2);
    --nebula-color-3: rgba(255, 80, 157, 0.2);
}

/* Light Theme */
body.light-theme {
    --bg-primary: rgba(248, 248, 255, 0.85);
    --bg-secondary: rgba(240, 240, 250, 0.9);
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent-color: #0d6efd;
    --accent-hover: #0b5ed7;
    --gradient-start: #0d6efd;
    --gradient-end: #6610f2;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: #dee2e6;
    
    /* Light theme stars are less visible */
    --star-color: rgba(255, 255, 255, 0.3);
    --star-color-2: rgba(255, 255, 255, 0.2);
    --nebula-color-1: rgba(103, 65, 217, 0.1);
    --nebula-color-2: rgba(229, 80, 255, 0.1);
    --nebula-color-3: rgba(255, 80, 157, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================
   Star Background Effect
   ========================= */

.star-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
    overflow: hidden;
}

/* Stars - First Layer (Small) */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--star-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: twinkle 7s infinite alternate;
}

/* Stars - Second Layer (Medium) */
.stars2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--star-color) 2px, transparent 2px);
    background-size: 100px 100px;
    background-position: 25px 25px;
    animation: twinkle 5s infinite alternate;
}

/* Stars - Third Layer (Large) */
.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--star-color-2) 3px, transparent 3px);
    background-size: 200px 200px;
    background-position: 50px 50px;
    animation: twinkle 3s infinite alternate;
}

/* Shooting Stars Container */
.shooting-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Shooting star styles added dynamically via JS */
.shooting-star {
    opacity: 1;
    transform-origin: left center;
}

/* Nebula Effect */
.nebula {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--nebula-color-1) 0%, transparent 40%),
        radial-gradient(circle at 80% 10%, var(--nebula-color-2) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, var(--nebula-color-3) 0%, transparent 45%),
        radial-gradient(circle at 30% 30%, rgba(103, 111, 198, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 70% 60%, rgba(233, 30, 99, 0.15) 0%, transparent 30%);
    filter: blur(30px);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: nebula-move 60s infinite alternate;
}

/* Add a mountain silhouette at the bottom */
.star-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0 L0,100 L1000,100 L1000,0 L900,40 L800,10 L700,70 L600,40 L500,90 L400,30 L300,50 L200,20 L100,60 Z" fill="%23000000" opacity="0.5"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

/* Star Twinkling Animation */
@keyframes twinkle {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.6;
    }
}

/* Nebula Movement Animation */
@keyframes nebula-move {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.7;
    }
    25% {
        opacity: 0.6;
    }
    50% {
        background-position: 5% 10%, -5% -15%, 10% -5%, -8% 8%, 12% -12%;
        opacity: 0.8;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        background-position: -5% -10%, 5% 15%, -10% 5%, 8% -8%, -12% 12%;
        opacity: 0.6;
    }
}

/* Shooting Star Animation */
@keyframes shooting-star {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(315deg) scale(0);
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translateX(-20vw) translateY(20vh) rotate(315deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-100vw) translateY(100vh) rotate(315deg) scale(0.2);
    }
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* =========================
   Buttons
   ========================= */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    border: none;
}

.primary-btn:hover {
    background: linear-gradient(to right, var(--gradient-end), var(--gradient-start));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
}

.secondary-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.small-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* =========================
   Header
   ========================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(10, 10, 25, 0.8); /* More transparent */
    backdrop-filter: blur(10px); /* Add blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

body.light-theme header {
    background-color: rgba(248, 248, 255, 0.8); /* Light theme header */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    margin-left: 30px;
    cursor: pointer;
    font-size: 1.2rem;
}

.theme-toggle .fa-sun {
    display: none;
}

.light-theme .theme-toggle .fa-sun {
    display: block;
}

.light-theme .theme-toggle .fa-moon {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* =========================
   Hero Section
   ========================= */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    opacity: 0.05;
    top: -100px;
    left: -200px;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    opacity: 0.05;
    bottom: -100px;
    right: -100px;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.highlight {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
}

.job-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    min-height: 40px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.social-icons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.6s both;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--text-secondary);
    font-size: 1.5rem;
}

/* =========================
   About Section
   ========================= */

.about {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    padding: 20px;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-container img {
    transition: var(--transition);
    transform: scale(1.02);
}

.image-container:hover img {
    transform: scale(1);
}

.image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-image: linear-gradient(to right, var(--gradient-start), var(--gradient-end)) 1;
    pointer-events: none;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--accent-color);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

/* =========================
   Skills Section
   ========================= */

.skills {
    padding: var(--section-padding);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.skill-category h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-info h4 {
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

/* =========================
   Projects Section
   ========================= */

.projects {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tags span {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

/* =========================
   Education Section
   ========================= */

.education {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    top: 20px;
    z-index: 1;
    left: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: auto;
    right: -20px;
}

.timeline-content {
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--card-bg);
}

.timeline-content.right::before {
    left: -15px;
    border-left: 0;
    border-right: 15px solid var(--card-bg);
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* =========================
   Contact Section
   ========================= */

.contact {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    resize: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* =========================
   Footer
   ========================= */

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

/* =========================
   Back to top button
   ========================= */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* =========================
   Animations
   ========================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* =========================
   Media Queries
   ========================= */

@media screen and (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .skills-container {
        gap: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-icon {
        left: 20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: 20px;
        right: auto;
    }

    .timeline-content {
        margin-left: 80px;
    }

    .timeline-content::before,
    .timeline-content.right::before {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .job-title {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
} 

/* =========================
   Sections
   ========================= */

/* Make sections slightly transparent to see the stars */
.about, .skills, .projects, .education, .contact {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about, .projects, .contact {
    background-color: var(--bg-secondary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.skills, .education {
    background-color: rgba(10, 10, 25, 0.6);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

body.light-theme .skills, 
body.light-theme .education {
    background-color: rgba(248, 248, 255, 0.6);
}

/* Add star particles effect on hover for certain elements */
.project-card, .timeline-content, .contact-form {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover::before,
.timeline-content:hover::before,
.contact-form:hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(var(--star-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: rotate 60s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Add glow to buttons */
.primary-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    border: none;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.primary-btn:hover {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.8), 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Add shooting star effect to social icons */
.social-icons a:hover::before,
.social-links a:hover::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    top: 50%;
    left: 100%;
    transform: translateY(-50%) rotate(45deg);
    animation: icon-shooting-star 0.8s linear forwards;
    box-shadow: 0 0 5px #fff, 0 0 10px #fff;
}

@keyframes icon-shooting-star {
    0% {
        transform: translate(-100%, -50%) rotate(45deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(100%, -50%) rotate(45deg) scale(1);
        opacity: 0;
    }
}

/* Enhance hero section with stars parallax effect */
.hero {
    position: relative;
    z-index: 1;
}

/* Add floating animation to some elements */
.logo, .about-image, .skill-category h3 {
    animation: floating 6s infinite ease-in-out;
}

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

/* Adjust some colors to work better with the space background */
.highlight {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
}

.section-title::after {
    box-shadow: 0 0 10px var(--accent-color);
}

/* Make cards more glass-like */
.project-card, .timeline-content, .contact-form {
    background-color: rgba(37, 37, 55, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .project-card,
body.light-theme .timeline-content,
body.light-theme .contact-form {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
} 