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

/* Setting up cosmic background and making sure everything's centered */
body {
    background: #0a0a2a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    color: white;
    overflow: hidden;
    perspective: 1200px;
}

/*  solar system container */
.solar-system {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

/* The star of the show  */
.sun {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        #FDB813 0%, 
        #FFA500 30%, 
        #FF8C00 60%, 
        #FF4500 100%);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 
        0 0 100px rgba(253, 184, 19, 0.7),
        0 0 200px rgba(255, 69, 0, 0.5);
}

/* Adding  extra solar glow effect  */
.sun::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 40%,
        transparent 100%
    );
    animation: solarGlow 8s infinite linear;
}

/* handosome Profile picture in the sun */
.sun img {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 8s;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

/* The sun's corona effect  */
.corona {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 191, 0, .35) 0%,
        rgba(255, 69, 0, 0.4) 30%,
        transparent 50%
    );
    animation: rotate 2s linear infinite, radianceBreathing 4s ease-in-out infinite;
}

/* Making the sun breathe  */
@keyframes radianceBreathing {
    0%, 100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

/* The sun's flare effect*/
.sun-flare {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.8) 0%,
        transparent 60%
    );
    animation: flare 10s ease-in-out infinite alternate;
}

/* Hover effect for the sun */
.sun:hover {
    transform: scale(1.3) translateZ(50px);
    box-shadow: 
        0 0 150px rgba(253, 184, 19, 0.9),
        0 0 300px rgba(255, 69, 0, 0.7);
}

/* solar animations */
@keyframes solarGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes flare {
    0% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1) rotate(20deg);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-20px) scale(1.02); 
    }
}

/* The sun's pulse effect*/
.sun-pulse {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 136, 0, 0.85) 0%,
        transparent 60%
    );
    animation: enhancedPulse 4s ease-in-out infinite;
}

@keyframes enhancedPulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

/* The orbits that planets follow  */
.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    transition: box-shadow 0.3s ease;
}

/* Making orbits glow when needed */
.orbit::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: transparent;
    transition: box-shadow 3s ease;
}

.orbit.glow::after {
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.716),
        inset 0 0 20px rgba(255, 255, 255, 0.866);
        transition: all 5s ease;
}

/* Hover effect for orbits */
.orbit.hover-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    transition: all 1s ease;
}

/* The planets themselves */
.planet {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        inset -10px -10px 20px rgba(0,0,0,0.5),
        0 0 20px rgba(255,255,255,0.5);
}

/* Making planets easier to click with a bigger hitbox */
.planet::after {
    content: '';
    position: absolute;
    width: 500%;
    height: 500%;
    left: -200%;
    top: -200%;
    cursor: pointer;
    z-index: 19;
}

/* Hover effect for planets - making them pop */
.planet:hover {
    transform: scale(1.3) translateZ(50px);
    box-shadow: 
        inset -10px -10px 20px rgba(0,0,0,0.5),
        0 0 40px rgba(255,255,255,0.8),
        0 0 60px rgba(255,255,255,0.4);
}

/* Planet icons styling */
.planet i {
    font-size: 32px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.planet:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
}

/* Labels that appear when hovering over planets */
.planet::before {
    content: attr(data-label);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-size: 16px;
    white-space: nowrap;
    color: white;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 25;
}

.planet:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* The modal that shows content when clicking planets */
.content-modal {
    display: none;
    position: fixed;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(50px);
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a2a;
    padding: 40px;
    border-radius: 20px;
    z-index: 100;
    max-width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        0 0 100px rgba(255,255,255,0.1);
    animation: modalAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content-modal.active {
    display: block;
}

/* Close button for modals */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0a0a2a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.close-modal:hover {
    transform: rotate(90deg);
}

/* The overlay that darkens the background when a modal is open */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    backdrop-filter: blur(5px);
}

/* The starry background effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}



/* Rotation animation for orbits */
@keyframes rotate {
    from {
        transform: rotateX(60deg) rotate(0deg);
    }
    to {
        transform: rotateX(60deg) rotate(360deg);
    }
}

/* Floating animation for elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Pulse animation for elements */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* Modal appearance animation */
@keyframes modalAppear {
    0% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Making everything responsive for mobile devices (work in progress) */
@media (max-width: 768px) {
    .planet {
        width: 60px;
        height: 60px;
    }

    .planet i {
        font-size: 24px;
    }

    .sun {
        width: 150px;
        height: 150px;
    }
}

/* The title container at the top */
.title-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 90vw;
    max-width: 1200px;
    text-align: center;
    padding: 0 20px;
}

/* The animated title text */
.title {
    font-family: 'Space Mono', monospace;
    color: #fff;
    font-size: clamp(1rem, 4vw, 2.5rem);
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-right: 3px solid #fff;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
}

/* Typewriter effect animations */
@keyframes typing {
    from { width: 0 }
    to { width: var(--typing-width) }
}

@keyframes deleting {
    from { width: var(--typing-width) }
    to { width: 0 }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #fff }
}

/* Enhanced background with gradient */
.starry-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background: linear-gradient(to bottom,
        #0B0B1A 0%,
        #1A1A3A 50%,
        #0B0B1A 100%
    );
}

/* Individual stars in the background */
.twinkle-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: #FFF;
    border-radius: 50%;
}

/* Twinkling animation for stars */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.1;
        transform: scale(0.3);
        filter: brightness(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1.5);
    }
}

/* Entry animations for planets */
@keyframes planetEntry {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0) translateZ(-1000px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateZ(0);
    }
}

/* Entry animation for orbits */
@keyframes orbitEntry {
    0% {
        opacity: 0;
        transform: rotateX(60deg) scale(0);
    }
    100% {
        opacity: 1;
        transform: rotateX(60deg) scale(1);
    }
}

/* Entry animation for the sun */
@keyframes sunEntry {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Floating animation for the sun */
@keyframes sunFloat {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1) translateY(-20px);
    }
}

/* Pausing animations on hover */
.planet:hover + .orbit,
.planet:hover {
    animation-play-state: paused;
}

.orbit:hover,
.orbit:hover .planet {
    animation-play-state: paused;
}

.orbit,
.planet {
    animation-play-state: running;
    transition: animation-play-state 0.3s ease;
}

/* Enhanced planet hover effect */
.planet:hover {
    transform: scale(1.3) translateZ(50px);
    box-shadow: 
        inset -10px -10px 20px rgba(0,0,0,0.5),
        0 0 40px rgba(255,255,255,0.8);
}

/* Orbit glow transitions */
.orbit.hover-glow {
    transition: box-shadow 1s ease;
}

/* Entry animation styles */
.entry-animation.orbit {
    opacity: 0 !important;
    transform: rotateX(60deg) scale(0.1) translateY(200px);
    pointer-events: none;
    transition: none;
}

.entry-animation.planet {
    opacity: 0 !important;
    transform: scale(0.1) translateY(100px) rotate(-180deg);
    pointer-events: none;
    transition: none;
}

.entry-animation-start.orbit {
    opacity: 1 !important;
    transform: rotateX(60deg) scale(1) translateY(0);
    pointer-events: auto;
    transition: 
        opacity 2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.entry-animation-start.planet {
    opacity: 1 !important;
    transform: scale(1) translateY(0) rotate(0);
    pointer-events: auto;
    transition: 
        opacity 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile optimization for title */
@media (max-width: 480px) {
    .title {
        letter-spacing: 2px;
    }
}

/* Settings icon in the top right */
.settings-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.settings-icon:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

/* The settings panel that slides in */
.settings-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: none;
    opacity: 0;
}

.settings-panel.active {
    right: 0;
    display: block;
    opacity: 1;
}

/* Sections within the settings panel */
.settings-section {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.settings-section h3 {
    color: white;
    margin-bottom: 15px;
    font-family: 'Space Mono', monospace;
}

/* Control groups for settings */
.control-group {
    margin-bottom: 15px;
}

.control-group label {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
}

/* Slider controls for settings */
.slider-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 5px;
    outline: none;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

/* Toggle switch styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #2196F3;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Navigation menu in settings */
.planet-nav {
    list-style: none;
    padding: 0;
}

.planet-nav li {
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.planet-nav li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Help text in settings */
.help-text {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

/* About section styling */
.about-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    color: #2D1B4E;
    max-width: 800px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.2);
    margin-top: 10px;
}

/* About header with profile */
.about-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(147, 51, 234, 0.2);
}

/* Profile image styling */
.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #9333EA;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile title styling */
.profile-title h2 {
    font-size: 2.5em;
    color: #2D1B4E;
    margin-bottom: 10px;
    font-family: 'Space Mono', monospace;
}

.profile-title .subtitle {
    color: #9333EA;
    font-size: 1.2em;
    font-style: italic;
}

/* About sections grid */
.about-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Individual about section */
.about-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
}

/* About section headers */
.about-section h3 {
    color: #9333EA;
    font-size: 1.4em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section h3 i {
    color: #9333EA;
}

/* Hobby tags styling */
.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hobby-tag {
    background: linear-gradient(135deg, #9333EA, #6B21A8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.hobby-tag:hover {
    transform: scale(1.05);
}

/* Goals list styling */
.goals-list {
    list-style: none;
    padding: 0;
}

.goals-list li {
    padding: 10px 0;
    color: #2D1B4E;
    display: flex;
    align-items: center;
    gap: 10px;
}

.goals-list li::before {
    content: '✧';
    color: #9333EA;
    font-size: 1.2em;
}

/* Featured image styling */
.featured-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.2);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

/* Mobile optimization for about section */
@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
    }
    
    .about-sections {
        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar for about container */
.about-container::-webkit-scrollbar {
    width: 8px;
}

.about-container::-webkit-scrollbar-track {
    background: rgba(147, 51, 234, 0.1);
    border-radius: 10px;
}

.about-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #9333EA, #6B21A8);
    border-radius: 10px;
}

.about-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6B21A8, #9333EA);
}

/* Resume download buttons */
.resume-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.resume-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.resume-button.view {
    background: linear-gradient(135deg, #9333ea, #6b21a8);
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.resume-button.download {
    background: white;
    color: #9333ea;
    border: 2px solid #9333ea;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.1);
}

.resume-button:hover {
    transform: translateY(-2px);
}

.resume-button.view:hover {
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.resume-button.download:hover {
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.2);
}

/* Contact section styling */
.contact-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    color: #2d1b4d;
    max-width: 800px;
    margin-top: 80px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.2);
}

/* Contact header */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(147, 51, 234, 0.2);
}

.contact-header h2 {
    font-size: 2.5em;
    color: #2d1b4d;
    margin-bottom: 10px;
    font-family: 'Space Mono', monospace;
}

/* Contact links grid */
.contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

/* Individual contact link */
.contact-link {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2d1b4d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
    background: linear-gradient(135deg, #9333ea, #6b21a8);
    color: white;
}

.contact-link i {
    font-size: 2em;
    margin-bottom: 15px;
    color: #9333ea;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    color: white;
}

.contact-link span {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
}

/* Mobile optimization for contact section */
@media (max-width: 768px) {
    .contact-links {
        grid-template-columns: 1fr;
    }
}

/* Experience section styling */
.experience-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    color: #2d1b4d;
    max-width: 800px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.2);
}

/* Experience header */
.experience-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(147, 51, 234, 0.2);
}

.experience-header h2 {
    font-size: 2.5em;
    color: #2d1b4d;
    margin-bottom: 10px;
    font-family: 'Space Mono', monospace;
}

/* Experience items list */
.experience-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Individual experience item */
.experience-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
}

/* Experience title */
.experience-title {
    color: #9333ea;
    font-size: 1.4em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-title i {
    color: #9333ea;
    font-size: 1.2em;
}

/* Experience details */
.experience-company {
    font-weight: bold;
    color: #4c1d95;
    margin-bottom: 5px;
}

.experience-date, .experience-location {
    color: #6b7280;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.experience-details {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.experience-details li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.experience-details li::before {
    content: '✧';
    color: #9333ea;
    position: absolute;
    left: 0;
}

/* Skills section styling */
.skills-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    color: #2d1b4d;
    max-width: 800px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.2);
}

/* Skills header */
.skills-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(147, 51, 234, 0.2);
}

.skills-header h2 {
    font-size: 2.5em;
    color: #2d1b4d;
    margin-bottom: 10px;
    font-family: 'Space Mono', monospace;
}

/* Skills category */
.skills-category {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
}

.skills-category h3 {
    color: #9333ea;
    font-size: 1.4em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Skills grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* Individual skill item */
.skill-item {
    position: relative;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    background: rgba(147, 51, 234, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.skill-item:hover {
    background: linear-gradient(135deg, #9333ea, #6b21a8);
    color: white;
    transform: scale(1.05);
}

.skill-item i {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #9333ea;
    transition: color 0.3s ease;
}

.skill-item:hover i {
    color: white;
}

/* Enhanced modal animations */
.content-modal {
    animation: modalFloat 3s ease-in-out infinite;
}

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

/* Interactive hover effects for modals */
.modal-hover-effect {
    position: relative;
}

.modal-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), 
                      rgba(147, 51, 234, 0.1) 0%,
                      transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.modal-hover-effect:hover::after {
    opacity: 1;
}

/* Projects section styling */
.projects-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    color: #2d1b4d;
    max-width: 800px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.2);
}

/* Projects header */
.projects-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(147, 51, 234, 0.2);
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Project card */
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Project image */
.project-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid rgba(147, 51, 234, 0.1);
}

/* Project content */
.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.4em;
    color: #2d1b4d;
    margin-bottom: 10px;
    font-weight: bold;
}

.project-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Project tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tag {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.project-link.demo {
    background: linear-gradient(135deg, #9333ea, #6b21a8);
    color: white;
}

.project-link.code {
    border: 2px solid #9333ea;
    color: #9333ea;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.2);
}

/* Modal particles effect */
.modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.modal-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    animation: particleAnimation 5s linear infinite;
}

@keyframes particleAnimation {
    0% {
        transform: scale(0.5) translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: scale(1) translate(20px, 20px);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.5) translate(0, 0);
        opacity: 0.5;
    }
}

/* Modal background effect */
.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), 
                      rgba(147, 51, 234, 0.1) 0%,
                      transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

/* Glow border effect */
.glow-border {
    position: relative;
    overflow: hidden;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #9333ea, #6b21a8, #9333ea);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 200%;
}

@keyframes borderGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}