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

body {
    font-family: 'Orbitron', monospace;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 120px; height: 120px; top: 60%; left: 80%; animation-delay: 5s; }
.shape-3 { width: 60px; height: 60px; top: 80%; left: 20%; animation-delay: 10s; }
.shape-4 { width: 100px; height: 100px; top: 40%; left: 70%; animation-delay: 15s; }
.shape-5 { width: 90px; height: 90px; top: 10%; left: 60%; animation-delay: 3s; }
.shape-6 { width: 70px; height: 70px; top: 70%; left: 50%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 30%; left: 70%; animation-delay: 1s; }
.star:nth-child(3) { top: 60%; left: 30%; animation-delay: 2s; }
.star:nth-child(4) { top: 80%; left: 60%; animation-delay: 0.5s; }
.star:nth-child(5) { top: 40%; left: 80%; animation-delay: 1.5s; }
.star:nth-child(6) { top: 70%; left: 10%; animation-delay: 2.5s; }
.star:nth-child(7) { top: 10%; left: 50%; animation-delay: 0.3s; }
.star:nth-child(8) { top: 50%; left: 90%; animation-delay: 1.8s; }
.star:nth-child(9) { top: 90%; left: 40%; animation-delay: 2.2s; }
.star:nth-child(10) { top: 25%; left: 15%; animation-delay: 0.8s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem 0;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.profile-section {
    text-align: center;
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(59, 130, 246, 0.5);
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #a855f7, #ec4899);
    z-index: -1;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 400;
}

.navigation {
    padding: 2rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(45deg, #3b82f6, #a855f7);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleY(1);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.1);
}

.nav-link i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1rem;
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* Main Content */
.main-content {
    margin-left: 300px;
    min-height: 100vh;
}

.section {
    padding: 4rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, #3b82f6, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #3b82f6, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out;
}

.badge-cyan { background: rgba(6, 182, 212, 0.2); color: #06b6d4; border: 1px solid #06b6d4; }
.badge-purple { background: rgba(168, 85, 247, 0.2); color: #a855f7; border: 1px solid #a855f7; }
.badge-pink { background: rgba(236, 72, 153, 0.2); color: #ec4899; border: 1px solid #ec4899; }
.badge-yellow { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid #f59e0b; }

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.stat-icon-cyan { background: rgba(6, 182, 212, 0.2); color: #06b6d4; }
.stat-icon-green { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.stat-icon-purple { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.stat-icon-orange { background: rgba(249, 115, 22, 0.2); color: #f97316; }

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Experience Section */
.experience-container {
    max-width: 800px;
    margin: 0 auto;
}

.experience-card {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.experience-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.experience-header:hover {
    background: rgba(59, 130, 246, 0.1);
}

.experience-info h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.company {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.experience-arrow {
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.experience-header.active .experience-arrow {
    transform: rotate(180deg);
}

.experience-content {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: #94a3b8;
    line-height: 1.6;
}

.experience-content.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.experience-content h4 {
    color: #ffffff;
    margin: 1rem 0 0.5rem;
}

.experience-content ul {
    list-style: none;
    padding-left: 1rem;
}

.experience-content li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.experience-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

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

.project-card {
    position: relative;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.completed {
    background: rgba(0, 0, 0, 0.5);
    color: #DAA520;
    border: 1px solid #DAA520;
}

.project-status.on-progress {
    background: rgba(0, 0, 0, 0.5);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

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

.project-image img {
    width: 100%;
    height: 100%;
    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: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}

.project-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.project-content p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #a855f7;
}

/* Education Section */
.education-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

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

.education-degree {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-period {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.education-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.education-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.education-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #ffffff;
}

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

.skill-card {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.skill-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    color: #94a3b8;
    padding: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Certificate Section */
.certificate-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: #ffffff;
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-content p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.slide-date {
    color: #3b82f6;
    font-weight: 600;
}

.slide-id {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    border-radius: 50%;
    color: #3b82f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #3b82f6;
    color: #ffffff;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #3b82f6;
}

.slider-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #3b82f6, #a855f7);
    width: 25%;
    transition: width 0.3s ease;
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #22c55e;
    font-weight: 600;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .section {
        padding: 3rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .experience-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b82f6, #a855f7);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2563eb, #9333ea);
}