/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Icon Styles */
.icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
    color: inherit;
}

.skill-icon .icon,
.interest-icon .icon,
.education-icon .icon {
    width: 3rem;
    height: 3rem;
}

.social-link .icon,
.project-link .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.btn .icon {
    width: 1rem;
    height: 1rem;
}

.contact-item .icon {
    width: 1.2rem;
    height: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn .icon {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357ABD, #2E6DA4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-secondary:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, #50C878, #45B068);
    color: white;
}

.btn-download:hover {
    background: linear-gradient(135deg, #45B068, #3A9B5C);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 200, 120, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #4A90E2;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4A90E2;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.profile-picture {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-picture:hover {
    transform: scale(1.05);
}

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

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 1.2rem;
    color: #4A90E2;
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4A90E2;
    font-weight: 500;
}

.highlight-item .highlight-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

/* Skills Section - Solar System */
.skills {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.skills .section-title {
    color: white;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    margin-bottom: 4rem;
}

.solar-system {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Sun */
.sun {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8),
                0 0 100px rgba(255, 215, 0, 0.4),
                inset 0 0 30px rgba(255, 140, 0, 0.3);
    animation: sunPulse 4s ease-in-out infinite;
    z-index: 10;
}

.sun-content {
    text-align: center;
    color: #333;
}

.sun-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sun-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

@keyframes sunPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8),
                    0 0 100px rgba(255, 215, 0, 0.4),
                    inset 0 0 30px rgba(255, 140, 0, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 70px rgba(255, 215, 0, 1),
                    0 0 140px rgba(255, 215, 0, 0.6),
                    inset 0 0 40px rgba(255, 140, 0, 0.5);
    }
}

/* Orbits */
.orbit {
    position: absolute;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-1 {
    width: 250px;
    height: 250px;
    animation: rotate 20s linear infinite;
}

.orbit-2 {
    width: 400px;
    height: 400px;
    animation: rotate 30s linear infinite;
}

.orbit-3 {
    width: 550px;
    height: 550px;
    animation: rotate 40s linear infinite;
}

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

/* Planets */
.planet {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(74, 144, 226, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: counterRotate 20s linear infinite;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.planet:focus {
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.8),
                inset 0 0 30px rgba(255, 255, 255, 0.3),
                0 0 0 3px rgba(74, 144, 226, 0.4);
}

.orbit-2 .planet {
    animation: counterRotate 30s linear infinite;
}

.orbit-3 .planet {
    animation: counterRotate 40s linear infinite;
}

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

.planet:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.8),
                inset 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 20;
}

.planet:hover .skill-level-display,
.planet:focus .skill-level-display,
.planet:active .skill-level-display {
    opacity: 0;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.planet-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Skill Level Display */
.skill-level-display {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem;
    border-radius: 12px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(74, 144, 226, 0.3);
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 10;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.skill-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.skill-bar-mini {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-mini {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
    background: linear-gradient(90deg, #6bcf7f 0%, #4A90E2 50%, #357ABD 100%);
}

/* Dynamic colors based on proficiency level */
.planet-html .skill-progress-mini,
.planet-css .skill-progress-mini {
    background: linear-gradient(90deg, #6bcf7f 0%, #50C878 100%); /* Advanced - Green */
}

.planet-js .skill-progress-mini,
.planet-python .skill-progress-mini {
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%); /* Advanced - Blue */
}

.planet-php .skill-progress-mini,
.planet-react .skill-progress-mini {
    background: linear-gradient(90deg, #ffd93d 0%, #ffb347 100%); /* Intermediate - Yellow/Orange */
}

/* Planet Positions */
.planet-html {
    top: -40px;
    left: calc(50% - 40px);
}

.planet-css {
    bottom: -40px;
    right: calc(50% - 40px);
}

.planet-js {
    top: -40px;
    left: calc(50% - 40px);
}

.planet-python {
    right: -40px;
    top: calc(50% - 40px);
}

.planet-php {
    bottom: -40px;
    left: calc(50% - 40px);
}

.planet-react {
    top: -40px;
    right: calc(50% - 40px);
}

/* Skills Legend */
.skills-legend {
    position: absolute;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.skills-legend h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.legend-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.legend-label {
    min-width: 80px;
    font-weight: 500;
    color: #333;
}

.legend-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.legend-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.legend-item span:last-child {
    min-width: 50px;
    text-align: right;
    color: #666;
    font-size: 0.8rem;
}

/* Floating Particles */
.skills::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(74, 144, 226, 0.4), transparent),
                      radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
                      radial-gradient(1px 1px at 130px 80px, rgba(74, 144, 226, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 4s linear infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Education Section */
.education {
    background: #f8f9fa;
}

.education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.education-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
}

.education-icon {
    font-size: 2.5rem;
    color: #4A90E2;
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.education-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}

.education-details h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.institution {
    color: #4A90E2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.year {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.description {
    color: #666;
    line-height: 1.6;
}

.cv-download {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: fit-content;
}

.cv-download h3 {
    color: #333;
    margin-bottom: 1rem;
}

.cv-download p {
    margin-bottom: 2rem;
    color: #666;
}

/* Projects Section */
.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image {
    position: relative;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 144, 226, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    color: #4A90E2;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link .icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.project-technologies {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Interests Section */
.interests {
    background: #f8f9fa;
}

.interests-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.interest-icon {
    font-size: 3rem;
    color: #4A90E2;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.interest-icon .icon {
    width: 3rem;
    height: 3rem;
    fill: currentColor;
}

.interest-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.interest-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.contact-item .icon {
    color: #4A90E2;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link .icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid,
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Solar System Mobile */
    .solar-system {
        width: 300px;
        height: 300px;
        margin: 2rem auto;
    }
    
    .sun {
        width: 80px;
        height: 80px;
    }
    
    .sun-icon {
        font-size: 1.5rem;
    }
    
    .sun-content h3 {
        font-size: 0.7rem;
    }
    
    .orbit-1 {
        width: 150px;
        height: 150px;
    }
    
    .orbit-2 {
        width: 200px;
        height: 200px;
    }
    
    .orbit-3 {
        width: 250px;
        height: 250px;
    }
    
    .planet {
        width: 60px;
        height: 60px;
    }
    
    .planet-icon {
        width: 30px;
        height: 30px;
    }
    
    .skill-level-display {
        top: -70px;
        min-width: 100px;
        padding: 0.6rem;
        font-size: 0.8rem;
        transform: translateX(-50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
    
    .skill-percentage {
        font-size: 1rem;
    }
    
    .skills-legend {
        position: static;
        transform: none;
        margin-top: 2rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        right: auto;
    }
    
    .planet-html,
    .planet-css,
    .planet-js,
    .planet-python,
    .planet-php,
    .planet-react {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .planet-html {
        top: -30px;
        left: calc(50% - 30px);
    }
    
    .planet-css {
        bottom: -30px;
        right: calc(50% - 30px);
    }
    
    .planet-js {
        top: -30px;
        left: calc(50% - 30px);
    }
    
    .planet-python {
        right: -30px;
        top: calc(50% - 30px);
    }
    
    .planet-php {
        bottom: -30px;
        left: calc(50% - 30px);
    }
    
    .planet-react {
        top: -30px;
        right: calc(50% - 30px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-picture {
        width: 250px;
        height: 250px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .skill-card,
    .interest-card,
    .project-card {
        margin-bottom: 1rem;
    }
    
    /* Solar System Ultra Mobile */
    .solar-system {
        width: 250px;
        height: 250px;
    }
    
    .sun {
        width: 60px;
        height: 60px;
    }
    
    .sun-icon {
        font-size: 1.2rem;
    }
    
    .sun-content h3 {
        font-size: 0.6rem;
    }
    
    .orbit-1 {
        width: 120px;
        height: 120px;
    }
    
    .orbit-2 {
        width: 160px;
        height: 160px;
    }
    
    .orbit-3 {
        width: 200px;
        height: 200px;
    }
    
    .planet {
        width: 45px;
        height: 45px;
    }
    
    .planet-icon {
        width: 25px;
        height: 25px;
    }
    
    .skill-level-display {
        top: -60px;
        min-width: 80px;
        padding: 0.4rem;
        font-size: 0.7rem;
        transform: translateX(-50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    .skill-name {
        font-size: 0.7rem;
    }
    
    .skill-percentage {
        font-size: 0.9rem;
    }
    
    .skills-legend {
        padding: 1.5rem;
        width: 100%;
        max-width: 280px;
    }
    
    .skills-legend h3 {
        font-size: 1rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .planet-html,
    .planet-css,
    .planet-js,
    .planet-python,
    .planet-php,
    .planet-react {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .planet-html {
        top: -22px;
        left: calc(50% - 22px);
    }
    
    .planet-css {
        bottom: -22px;
        right: calc(50% - 22px);
    }
    
    .planet-js {
        top: -22px;
        left: calc(50% - 22px);
    }
    
    .planet-python {
        right: -22px;
        top: calc(50% - 22px);
    }
    
    .planet-php {
        bottom: -22px;
        left: calc(50% - 22px);
    }
    
    .planet-react {
        top: -22px;
        right: calc(50% - 22px);
    }
}
