/* Global Styles and Variables */
:root {
    --primary-color: #6e00ff;
    --secondary-color: #00b4ff;
    --accent-color: #ff3e9d;
    --bg-dark: #0d0d22;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px var(--primary-color);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --image-overlay: rgba(110, 0, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(13, 13, 34, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a, .social-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.social-links a.glow-hover:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at center,
        rgba(110, 0, 255, 0.1) 0%,
        rgba(0, 180, 255, 0.05) 25%,
        var(--bg-dark) 100%
    );
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-direction: row;
    flex-direction: row;
}

/* Hero Content - Left Side */
.hero-content {
    flex: 1;
    text-align: left;
    order: 1;
    max-width: 600px;
}

.profile-section {
    position: relative;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.profile-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

/* Profile Image Enhancements */
.profile-image {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.profile-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(110, 0, 255, 0.3);
}

.profile-img.hover-effect:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--image-overlay), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image:hover .image-overlay {
    opacity: 1;
}

.glow-effect {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 17px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: glowPulse 2s infinite;
}

.profile-image:hover .glow-effect {
    opacity: 1;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.profile-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.profile-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.detail-text {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.profile-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Tech Icons - Right Side */
.tech-icons-column {
    flex: 1;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    overflow: visible;
}

.orbit-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: containerFloat 6s ease-in-out infinite;
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(110, 0, 255, 0.1);
    animation: rotateRing 20s linear infinite;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    animation: rotateRing 8s linear infinite;
}

.orbit-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 15px rgba(110, 0, 255, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

.orbit-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    animation: rotateBorder 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orbit-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    border-radius: 50%;
    z-index: 0;
}

.orbit-icon i {
    font-size: 1.8rem;
    color: var(--text-color);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orbit-icon:hover {
    transform: scale(1.3);
    box-shadow: 
        0 0 20px var(--primary-color),
        0 0 40px var(--secondary-color);
}

.orbit-icon:hover::before {
    opacity: 1;
}

.orbit-icon:hover i {
    animation: iconSpin 1s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Refined icon animations */
.orbit-icon:nth-child(2) { animation: orbit1 18s linear infinite; }
.orbit-icon:nth-child(3) { animation: orbit2 22s linear infinite; }
.orbit-icon:nth-child(4) { animation: orbit3 26s linear infinite; }
.orbit-icon:nth-child(5) { animation: orbit4 30s linear infinite; }
.orbit-icon:nth-child(6) { animation: orbit5 24s linear infinite; }

.orbit-icon:hover {
    transform: scale(1.5) translateZ(100px);
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color)
    );
    box-shadow: 
        0 0 30px var(--primary-color),
        0 0 60px var(--secondary-color);
    z-index: 10;
}

.orbit-icon:hover::before {
    opacity: 0.6;
    transform: scale(1);
}

.orbit-icon:hover i {
    transform: rotateY(360deg) scale(1.1);
    color: white;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.5);
}

/* Refined keyframe animations */
@keyframes orbit1 {
    from { transform: rotate(0deg) translateX(190px) rotate(0deg) scale(1) translateZ(20px); }
    to { transform: rotate(360deg) translateX(190px) rotate(-360deg) scale(1) translateZ(20px); }
}

@keyframes orbit2 {
    from { transform: rotate(72deg) translateX(170px) rotate(-72deg) scale(1) translateZ(40px); }
    to { transform: rotate(432deg) translateX(170px) rotate(-432deg) scale(1) translateZ(40px); }
}

@keyframes orbit3 {
    from { transform: rotate(144deg) translateX(210px) rotate(-144deg) scale(1) translateZ(60px); }
    to { transform: rotate(504deg) translateX(210px) rotate(-504deg) scale(1) translateZ(60px); }
}

@keyframes orbit4 {
    from { transform: rotate(216deg) translateX(180px) rotate(-216deg) scale(1) translateZ(30px); }
    to { transform: rotate(576deg) translateX(180px) rotate(-576deg) scale(1) translateZ(30px); }
}

@keyframes orbit5 {
    from { transform: rotate(288deg) translateX(200px) rotate(-288deg) scale(1) translateZ(50px); }
    to { transform: rotate(648deg) translateX(200px) rotate(-648deg) scale(1) translateZ(50px); }
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes glowPulse {
    0%, 100% { 
        filter: blur(8px);
        opacity: 0.4;
    }
    50% { 
        filter: blur(12px);
        opacity: 0.6;
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    padding: 6rem 2rem;
    position: relative;
    background: linear-gradient(rgba(110, 0, 255, 0.05), rgba(0, 180, 255, 0.05));
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.skills-category {
    margin-bottom: 5rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Enhanced Icon Animations */
.skill-icon {
    position: relative;
    width: 130px;
    height: 130px;
    background: var(--glass-bg);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    animation: skillFloat 5s ease-in-out infinite;
}

.skill-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: conic-gradient(
        from 0deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    animation: rotateBorder 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    border-radius: 23px;
    z-index: 0;
}

.skill-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.skill-icon i {
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--text-color), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-icon:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(110, 0, 255, 0.2),
        0 0 20px rgba(0, 180, 255, 0.2);
}

.skill-icon:hover::before {
    opacity: 1;
}

.skill-icon:hover i {
    animation: skillIconPulse 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating animation */
@keyframes floatSkill {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-8px) translateZ(20px); }
}

.skill-content {
    animation: floatSkill 4s ease-in-out infinite;
}

/* Projects Section */
.projects {
    padding: 6rem 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-10px) rotate3d(1, 1, 0, 5deg);
    border-color: var(--primary-color);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(20px);
}

.project-card:hover .card-glow {
    opacity: 0.1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
}

.tech-stack span {
    padding: 0.4rem 1rem;
    background: var(--glass-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.tech-stack span:hover {
    transform: translateZ(20px);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

/* Education Timeline */
.education {
    padding: 6rem 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(var(--primary-color), var(--secondary-color));
}

.timeline-item {
    margin: 2rem 0;
    width: calc(50% - 30px);
    position: relative;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
}

/* Certifications Section */
.certifications {
    padding: 6rem 2rem;
}

.cert-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem;
    scroll-snap-type: x mandatory;
}

.cert-card {
    min-width: 300px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
}

.contact-item:hover::before {
    opacity: 0.2;
}

.contact-item i {
    position: relative;
    z-index: 1;
}

/* Buttons */
.glow-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--primary-color);
}

.glow-button:hover::before {
    opacity: 1;
}

.glow-button:active {
    transform: translateY(0);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.footer-text {
    font-size: 1.1rem;
    opacity: 0.8;
}

.heart {
    color: #ff0066;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from { text-shadow: 0 0 10px var(--primary-color); }
    to { text-shadow: 0 0 20px var(--secondary-color); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .tech-icons-column {
        order: 2;
        height: 400px;
    }

    .orbit-container {
        width: 300px;
        height: 300px;
    }

    .profile-wrapper {
        width: 250px;
        height: 250px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: calc(100% - 30px);
        margin-left: 30px;
    }

    .timeline-item:nth-child(odd) {
        margin-left: 30px;
    }

    .timeline-content::before {
        left: -40px !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links, .social-links {
        margin-top: 1rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .glowing-text {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }

    .skill-icon {
        width: 140px;
        height: 140px;
    }

    .skill-icon i {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        gap: 2rem;
    }

    .contact-item {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .tech-icons-column {
        height: 300px;
    }

    .orbit-container {
        width: 320px;
        height: 320px;
        transform: scale(0.85);
    }

    .orbit-icon {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }

    @keyframes orbit1 { 
        from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
    }
    @keyframes orbit2 {
        from { transform: rotate(72deg) translateX(130px) rotate(-72deg); }
        to { transform: rotate(432deg) translateX(130px) rotate(-432deg); }
    }
    @keyframes orbit3 {
        from { transform: rotate(144deg) translateX(160px) rotate(-144deg); }
        to { transform: rotate(504deg) translateX(160px) rotate(-504deg); }
    }
    @keyframes orbit4 {
        from { transform: rotate(216deg) translateX(140px) rotate(-216deg); }
        to { transform: rotate(576deg) translateX(140px) rotate(-576deg); }
    }
    @keyframes orbit5 {
        from { transform: rotate(288deg) translateX(150px) rotate(-288deg); }
        to { transform: rotate(648deg) translateX(150px) rotate(-648deg); }
    }

    .profile-wrapper {
        width: 220px;
        height: 220px;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links a, .social-links a {
        margin: 0 0.5rem;
    }

    .profile-wrapper {
        width: 180px;
        height: 180px;
    }

    .cert-card {
        min-width: 250px;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .orbit-container {
        width: 200px;
        height: 200px;
    }

    .orbit-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    @keyframes orbit1 { 
        from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
    }
    @keyframes orbit2 {
        from { transform: rotate(72deg) translateX(60px) rotate(-72deg); }
        to { transform: rotate(432deg) translateX(60px) rotate(-432deg); }
    }
    @keyframes orbit3 {
        from { transform: rotate(144deg) translateX(75px) rotate(-144deg); }
        to { transform: rotate(504deg) translateX(75px) rotate(-504deg); }
    }
    @keyframes orbit4 {
        from { transform: rotate(216deg) translateX(65px) rotate(-216deg); }
        to { transform: rotate(576deg) translateX(65px) rotate(-576deg); }
    }
    @keyframes orbit5 {
        from { transform: rotate(288deg) translateX(70px) rotate(-288deg); }
        to { transform: rotate(648deg) translateX(70px) rotate(-648deg); }
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-icon {
        width: 120px;
        height: 120px;
    }

    .skill-content {
        padding: 1rem;
    }

    .skill-icon i {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .skill-icon h3 {
        font-size: 0.9rem;
    }
}

@keyframes skillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes skillIconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes containerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}